Questions tagged [product-attribute]

Questions about creating, managing and using product attributes

Filter by
Sorted by
Tagged with
0
votes
1answer
184 views

Created a custom attribute via setup, but it only appears to new products

Hello i have the next setup code: $installer = new Mage_Catalog_Model_Resource_Setup('core_setup'); $installer->addAttribute('catalog_product', 'shipping_city', array( 'group' =&...
5
votes
3answers
3k views

Dropdown product attributes: int vs. varchar

For an attribute set up as a dropdown, is that supposed to be an int or a varchar? I'm fixing a catalog of products that someone else imported, and I'm seeing a size attribute set up as a dropdown as ...
1
vote
1answer
3k views

Disable an attribute in Magento admin

I would like to disable a field in magento admin at default level. The reason for this is I have built a bespoke stock integration which will overwrite the default values regularly. I will populate ...
0
votes
1answer
526 views

Printing Custom Attribute of a product on My Downloadable Products page

I have a custom product attribute of code format for all Downloadable Products. If a customer purchases a Downloadable Product, I want them to be able to see that attribute when they Download the ...
3
votes
2answers
18k views

Calling load with attribute name - $product->load('attribute_name');

Looking through one of the projects I've been working on, I keep coming across code that does $product->load('attribute_name'), where product is an instance of Mage_Catalog_Model_Product. Digging ...
1
vote
2answers
10k views

Product Attribute issue with attribute set using installer script

I am facing a problem regarding creating attribute and attribute set using installer script.attribute set and attribute is created but the problem is attributes are assigned to all attribute set ...
9
votes
1answer
13k views

Adding custom attributes to product list

I'm very confused with a small issue in my catalog/product/list.phtml file. i'm trying to add the Manufacturer attribute that comes with Magento to my grid listing and have added the following code. ...
0
votes
2answers
5k views

Checking for attribute value existence. What does this do?

I got this code from here, and it works. There's a section of it that I don't quite get, however. Please see lines [A] and [B]. public function attributeValueExists($attCode, $attributeValue) { $...
2
votes
1answer
578 views

how to get all products from a category which have this attribute?

I have spent two days in this problem: I can´t find the right solution for getting all products which are related to a specified category and which have the searched attribute. In my special case: We ...
6
votes
2answers
7k views

Detect default attribute set id

There's 'Default' attribute set in the default Magento installation. You have no ability to remove that attribute set using admin gui (Remove button is hidden for this set). I did not found something ...
2
votes
0answers
994 views

How adding a custom select attribute with translated label depending on a language on frontend [closed]

I would like to have a dropdown attribute on product, which has a translatable label depending on the language in backend and in frontend. I managed to display the dropdown in the backend with a ...
2
votes
1answer
2k views

Problem with product attribute attaching to quote/order item

I'm following this guide (product attribute to quote item and order item) however for whatever reason I seem unable to retrieve my attribute in my observer. My attribute I created is called "...
0
votes
1answer
708 views

Issue with Price Rules for shopping cart

Hi I am running two magento websites, different installs on different servers with different themes. Magento version is same for both and that is 1.7.0.2. The problem I am facing is, different price ...
4
votes
2answers
1k views

Region dropdown based on country dropdown at the product detailed page [closed]

Hi i want to display state drop down based on country select in magento product from in admin can any one please given an idea how to do this. i have googled it but in vain.
13
votes
3answers
10k views

Read-Only Product Backend attribute

I would like to create an attribute read only however it look it is not possible. I have tried to pass to addAttribute() 'disabled' =>true or 'readonly' => true with out any success. I have ...

1
32 33 34 35
36