Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 29731

Questions about creating, managing and using product attributes

0 votes
Accepted

Difficulty creating a new product attribute

At this filed you have to give label which is shown in adminpanel. If the frontend label has no value then same admin label has shown for frontend store. Below url help you to understand what attri …
Murtuza Zabuawala's user avatar
0 votes

how to display Custom attribute admin in product grid in magento1.9

Copy app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php and paste app/code/local/Mage/Adminhtml/Block/Catalog/Product/Grid.php and in the Grid.php file _prepareCollection method add your at …
Murtuza Zabuawala's user avatar
0 votes
Accepted

Create Dropdown Attribute for Products

$attribute = Mage::getModel('eav/config')->getAttribute( Mage_Catalog_Model_Product::ENTITY ,'attribute_code'); $options = $attribute->getSource()->getAllOptions(); print_r ($options); …
Murtuza Zabuawala's user avatar
1 vote
Accepted

Adding Values in Custom Product Attribute From the Database

you can try below code where $option contains array like this $options[0]= array("label"=>$label,'value'=>$value) $attribute_model = Mage::getModel('eav/entity_attribute'); $attribute_code …
Murtuza Zabuawala's user avatar
0 votes

If getAttributeText() not working in list.phtml

This is boolean Attribute you can use like below, By default stock status attribute code is is_in_stock <?php if($_product->getIsInStock): ?> <div class="product-img-icon-quick">IN STOCK</div> <?php …
Murtuza Zabuawala's user avatar
1 vote

Get product attribute on product list in one query

First of all this magento theme does not support swatches. Go to system->config->general->design->package and set Current Package Name to rwd so this default rwd theme support swatches.
Murtuza Zabuawala's user avatar
0 votes
0 answers
91 views

Why magento uses global attribute for configurable product?

As we all know that Magento requires global scope attribute for creating a configurable product. But my question is why its needed so? Why can't we create a configurable product with an attribute wi …
Murtuza Zabuawala's user avatar
4 votes
Accepted

Magento 2 What is the use of 'apply_to' to add product attribute?

Magento\Bundle\Setup\Patch\Data\ApplyAttributesUpdate If you look at this class closely , You will see that apply_to has value bundle this means this attribute will only work with bundle product ty …
Murtuza Zabuawala's user avatar
2 votes

How do i hide magento attributes with no value

try Below code May be you could get your solution <?php foreach ($_additional as $_data): ?> <?php $_attribute = $_product->getResource()->getAttribute($_data['code']); if ($_helper->productAttribute …
Murtuza Zabuawala's user avatar
1 vote

If statement for translatable product attribute values

I think Your flat tables is enable so Follow below steps, Login to admin panel Goto Catalog > attributes > Manage Attributes Find cp_doos_specificaties in attribute code Click on the attribute Set …
Murtuza Zabuawala's user avatar
3 votes

How to assign product category during products import

I dont know But you have to use $product_model->setCategoryIds($categoryId) instead of $product:model->setCategoryId($categoryId); Please try and let me know.
Murtuza Zabuawala's user avatar
1 vote
Accepted

Custom attribute dropdown

in that file there is a variable echo $_jsonConfig if you print this then it will give you json data for that, just iterate that json and create the structure that you want. Note : please take bac …
Murtuza Zabuawala's user avatar
1 vote

Magento 1.9.2.4 configurable swatches don't change main image

Many times theme not configured with RWD color swatch , if the theme is not design by taking base of RWD theme then it may possible that your swatch want wont work, or may be if you have installed s …
Murtuza Zabuawala's user avatar