The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
10 views

Delete custom EAV attributes from the database

I want to remove unused EAV attributes directly from the database before I move my store live. Attributes can be found in eav_attribute table, can I delete attributes from this table? Is it safe? Or ...
0
votes
2answers
19 views

Product attribute show/hide in admin depending on other attribute value

I have a product attribute but it is only relevant if another product attribute is selected (a dropdown yes/no) value. In the admin view I would like show/hide my custom attribute depending on the ...
0
votes
1answer
21 views

get array of a product's assigned/used attributes?

with php, what is the easiest way to start from a product instance and get a list of the attributes both standard and custom, set for that particular product ? thank you, im off to bed for now...
0
votes
3answers
76 views

I can't get a product attribute value

I have a Mage_Sales_Model_Order_Shipment_Item object and I'm able to load a product model using the shipment item's sku (if I can get this attribute by just using the shipment item, all the better). ...
1
vote
1answer
19 views

How does gallery attribute work

This is for Magento 1.7.0.2 I don't understand what the gallery attribute does? I've imported products and images. The images were imported into an attribute called gallery but they don't show up in ...
3
votes
2answers
36 views

Upgrade script - Create new select attribute with options

I would like to create a new product attribute with some predefined options using an upgrade script. I have an upgrade script working, so the only thing i dont know how to do is to add the drop down ...
1
vote
2answers
135 views

Product attribute not saving programmatically

I am running a method to save attribute store view titles prgrammatically, but one attribute store view titles does not save when the method is run inside a loop. I thought it was a caching issue, but ...
1
vote
1answer
24 views

Changing the Attribute Set for a Simple Product

Basically the subject. I have a simple product created with a particular attribute set. Is there a way to change the attribute set associated with this product without having to create a new one?
1
vote
1answer
42 views

Programmatically created attributes showing up in backend but not frontend

I have a script that bulk creates attributes and sets in Magento. The attributes and their sets look fine, and the settings are correct. When these attributes are created, I use AMartinez's ...
1
vote
1answer
49 views

frontend_type in eav_attribute table

I am working on custom product upload form where sellers can upload their products. So i generated a form using the attribute sets which will give the related attributes, lable, type which is required ...
0
votes
1answer
21 views

How to get all options for all store views for a single attribute?

I am trying to retrieve all options for all store views for a single attribute e.g. color. For the attribute color I have created two options blue and white. I have tried the following code that is ...
0
votes
1answer
45 views

Custom Attributes As A Product Tab

I am almost there, the theme I have does not use view.html but its a folder called view with parts of the product page. I am trying to make the the custom attributes content show but it refuses to ...
0
votes
0answers
10 views

Use frontend attribute values when creating orders from admin

When creating an order from admin that includes a configurable product, the option is displayed using the admin value of the attribute. In my case, I use a different admin value and frontend value. ...
0
votes
2answers
53 views

Programmatically create new attribute set while inheriting from another

I am programmatically creating attributes and attribute sets. The attributes work like they should, but with the attribute sets I have a problem. When I create an attribute set, I can not let it ...
1
vote
1answer
32 views

custom config option for a specific attribute

I have an attribute in Magento. For this and only this attribute, I would like to have a new configuration option, similar to "Use in Quick Search" or "Allow HTML Tags on Frontend" for example. The ...
1
vote
2answers
45 views

Avoid invalidating product flat table reindexing upon product attribute value save

Magento 1.7. I noticed that when you update inventory quantities, a reindex of catalog_product_flat is not required. That's useful, because I can set up a cron job to update inventory every night at ...
0
votes
1answer
23 views

Create a sortable and filterable custom attribute to stand-alone entity

I would like to add a custom attribute type that allows an admin to assign a product to a custom entity by name. The end user should be able to sort and filter by the same custom entity. As example ...
1
vote
1answer
41 views

Custom attribute, show it about everywhere?

I have a Donut webshop and would like to add a custom attribute and to show this attribute at many places. I want to add the text: "Box à 8 peeces" or "Box à 12 peeces" etc. underneath the title. ...
0
votes
1answer
35 views

Display attribute set groups with product

I need to display groups with attributes when I display product informations. For example, I have an attribute set with there informations : Group 1 : Attribute1 Attribute2 Group 2 : ...
1
vote
1answer
25 views

How do I add additional options to customer gender?

I have a client who would like to add the option 'Transgender' in addition to Male and Female in the gender field. Can I do this directly in the database? Would I need to update anything beyond the ...
0
votes
1answer
43 views

Retrive customer custom attribute value via observer

I am trying to get custom attribute value of customer in observer, but no results. Can anyone help me: <frontend> <events> <customer_customer_authenticated> ...
2
votes
1answer
50 views

Importing attributes to a new magento installation

What are the tables I need to dump to be able to import them in a new installation? I need this to avoid reinserting all the custom attributes for every new Magento installation. thanks
0
votes
0answers
26 views

Extending the attribute options grid in Admin

I'm trying to add an extra column to the attributes options grid in the Admin. We need to display icons for a lot of attribute options in a shop and an extra field would make that much easier. Thus ...
1
vote
1answer
48 views

Super attribute scope change error

When attempting to change scope from "Store View" to "Global" of an attribute that's used as super attribute, I get this error message: "Scope must not be changed, because the attribute is used in ...
0
votes
1answer
40 views

Product filter using attributes

How to filter products shown on the category pages based on the products attributes??? I should be able to filter the products based on the attributes such as manufacturer price color etc shown on the ...
0
votes
1answer
47 views

Add a product collection to customer entity type

I would like to allow a logged in user to select his or her favorite products. This list should be maintained from a new account page to be created following Alan Storm his article: ...
1
vote
2answers
55 views

How to set an attribute option's position per product?

Is there any way to set an attribute option's position per product? To clarify with a simple scenario, we sell blue shirts and pink shirts. For products in a women's category, we want the pink ...
1
vote
2answers
40 views

Get specific attribute for each product on catalog page

On catalog page, I want to display custom attribute near each product (e.g. shoes_model). When I try to fetch it: $_product->getAttributeText('shoes_model'); // returns nothing ... it returns ...
0
votes
0answers
33 views

Passing product attributes to PayPal line items

With PayPal "Transfer cart line items" set to Yes, is there a way to also transfer some of product attributes? I've had a look at Paypal/Model/Api and Payment Details Item Type Fields, but Paypal ...
1
vote
2answers
87 views

Multiple attributes with same (identic) values - inheritable?

I am about to set up an online store and I am kinda "testing" if magento (1.7., Community Edition) fits my needs. I think I got the idea behind categorizing and attributing products. But I have a ...
3
votes
1answer
59 views

Attribute backend_type = static?

Can someone explain the importance/relevance of the backend_type static for an attribute? I am having some problems with an attribute not being loaded and im wondering whether this backend_type has ...
2
votes
1answer
123 views

Creating filterable selectbox attribute using SOAP API v2

I am creating attributes using the Magento SOAP API V2, and need a few filterable attributes. I am using the following array: $array = array( "attribute_code" => "testattribute", ...
1
vote
1answer
114 views

How to add one custom field into register page and get it working?

I have been looking into some tutorials but none of them works, for example, first they told me to open xxx files and edit something but what I found on my files is just a class with no single method ...
1
vote
2answers
210 views

product attribute to quote item and order item

What is the correct way in magento to have a product attribute be automatically persisted to quote item and then finally to order item? Is it as simple as a little config xml or is it a manual ...
0
votes
1answer
37 views

adding attributes to quote items via config

can someone tell me what the purpose of this is in the config? <sales> <quote> <item> <product_attributes> <sku/> ...
2
votes
1answer
64 views

Is it upgrade safe to add custom address attributes

currently i am developing a Magento extension, that needs to add several custom attributes to customer address. I've found several tutorials on the topic that describe precisely what i need to build ...
1
vote
1answer
33 views

How to set default Product In Websites attribute for all new products?

When adding new product you have to set Product In Websites attribute in Websites tab. Is there a way to set default website automatically? I only have one website, so I think it is unnecessary step ...
0
votes
1answer
118 views

How to add attributes set column to category products grid?

How to add attributes set column to category products grid under Catalog -> Manage Categories -> Category_to_be_edited I've added special price since it was already available in the collection. ...
-1
votes
1answer
547 views

How to disable “Add to Cart” on specific products, and instead display “View Details” button in category list view?

I was wondering how to disable Add to Cart button on a few specific products, and I found an abandoned guide on how to do this, which worked, but it was somewhat incomplete, as it only was just a ...
1
vote
1answer
49 views

Filter by Product's Custom Options or set diffrent options for each products from Attributes Sets

I don't know what is the best way of doing this. The idea is that I have about 500 products. I created 11 Attribute Sets (to cover 11 product categories). These attributes are filterable. But I need ...
1
vote
2answers
63 views

How to Get A List Of All Attributes

How can I fetch a list (array) of all defined product attributes? (basically I need the code and label). edit: The attributes I need this to dynamically generate ACLs for all product attributes ...
2
votes
3answers
152 views

Hide Attributes and Other Fields in Product Edit Backend

To make editing of products (and maybe also categories) for the shop owner easier, we would like to hide some unnecessary tabs and fields from some users in the admin backend. This means: Hiding some ...
2
votes
1answer
179 views

Add Input Validation to Product Attribute with MySQL Install Script

I have a shipping plugin that creates 3 product attributes, namely length, width and height. I have the following code in my install script: $setup = new Mage_Eav_Model_Entity_Setup('core_setup'); ...
1
vote
1answer
388 views

How to Programmatically set a Product's Multi-Select Attribute by Labels

If have a multiselect attribute and want to set the selection on a product. $selectedOptions = "red,green,blue"; $product->..... // # what to do? How can I do that?
0
votes
1answer
34 views

Wrong Date Getting Saved For An Attribute

I have created an attribute release_date with Date as the input type.When the date is selected as "29-04-2013", it gets saved as "29-04-0013".What could be the problem? Note: Magento version is ...
0
votes
2answers
190 views

Advanced Search - Custom Attribute Range

I am sure others have encountered this problem before and I am wondering if anyone knows of a solution. I would like my product to be searchable in the advanced search by a range of sizes. For ...
0
votes
2answers
46 views

How to create a new “Input Validation for Store Owner” option for attribute?

I need to create a bunch of new attributes from my module, and I would like to define custom validation rules for each of the attribute. How can I do it? edit: Your answers about magento validation ...
0
votes
1answer
72 views

Change the order of “Additional Information” attributes

Is there a way to change the order of the attributes displayed on the Product View Page under the "Additional Information" section? I find that every time I select an attribute to be displayed on the ...
0
votes
3answers
156 views

Filter collection by existence of attribute

I'm working on an e-commerce site populated with products that depend heavily upon having well-populated spec sheets. Unfortunately quite a few of the products are somewhat less complete than I'd ...
0
votes
3answers
147 views

Get attribute associate label

I have manage to retrieve the value for an attribute relative to a particular product $attribute_code = 'code'; $value = Mage::getResourceModel('catalog/product') ...

1 2