Thursday, 15 April 2010

php - confusion in custom attributes and Manage attributes in magento admin -


I am totally confused with the features. Please help me I have been working this special feature for 3 consecutive days but There is no output from me.

Here is a screen shot: - Enter image details here

Admin panel here: - Enter image details here

Now I have my product list page Want gray and pink value in C: \ wamp \ www \ magento \ app \ design \ frontend \ base \ default \ template \ catalog \ product \ list .phtml

The value of custom attributes in my product list page. Please help me how I should get that value .....

I found the value using the Manage Features / Features set:

  $ size = $ _product- & gt; GetRateource () - & gt; GetAttribute ('size') - & gt; GetFrontend () - & gt; GetValue ($ _products); // This simple feature is $ color = $ _product- & gt; GetResource () - & gt; GetAttribute ('  

This is my configurable product: -

I think that you need to create a "configurable product" that you want to do, for example, to allow you to create different products with different colors:

  1. Create a new
  2. Change your color in the attribute set
  3. Create a new product on "Manage Products"
    • Select Your Choice "Attribute Set" (Cloth)
    • "Product Type" is " Configurable Product "
    • Once you have finished the product details, save your product and go back to edit it again.
    • Last Click on the tab "Affiliate Products" and using the "Quick Simple Product Creation" tool, create color variations .
    • Save, Riindaks and check your product face.

      You should not need to edit any code. Hope this will help you!

No comments:

Post a Comment