Questions tagged [option]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
637 views

How to change “Use In Search Results Layered Navigation” option of attributes?

So I created a custom attribute called 'weight'. When I search for a product in the Frontend, it shows 'Weight' in the Search Result options sidebar because I left "Use In Search Results Layered ...
0
votes
1answer
107 views

Option ID is shown instead of option value [closed]

As a German Shop we need to echo delivery time into the top of the productpage and the product grid. Normaly it does what it should, but in our latest installation it shows the option id instead of ...
7
votes
3answers
11k views

Add product to cart with custom option using PHP

I am trying to add a product to the cart programmatically with some custom options. The item gets added to the cart correctly but none of the options ever get added. My code is: require_once '../../...
0
votes
2answers
2k views

Custom event on product option change

In my magento store my products have several custom options which alter the price of the product. I also need to add in a custom function which shows or hides particular content when this event ...
0
votes
3answers
112 views

Narrowing shipping method to only 1 option?

I have a product that weighs 30 lbs. However, when a customer orders multiples of this product--say, 10 of them--the total weight should be 300 lbs. I have an extension for FedEx Freight that is ...
2
votes
2answers
889 views

Get ID of newly created product attribute option

In my magento store I am creating a new product attribute option as so: $new_name = 'my-new-option'; $_attribute = Mage::getModel('eav/entity_attribute')->loadByCode('catalog_product', 'my-...
1
vote
1answer
780 views

Where is Option Id of Newly Added Option For Bundle Product?

So I have a module, which I am using to set a custom field in bundle options. I have implimented my module successfully. However I came to a situation to which I can't move on without get an answer ...
2
votes
1answer
2k views

Set default option as “No” for custom select attribute

I have used below code to generate a custom select attribute. $installer->addAttribute('catalog_product', "best_seller_flag", array( 'type' => 'int', 'group' => 'Flags', ...
1
vote
1answer
614 views

How to search against product options

I have products which have options that include their associated part#'s and model#'s in text as shown here http://greengaskets.com/index.php/manufacturer/bally-gasket-profile-10130.html However I am ...
5
votes
2answers
4k views

Remove and recreate custom option programatically on product before save event

I m creating custom option programatically using observer with catalog_product_save_before event.Custom option created successfully on product save.but the problem is whenever product save second time ...
6
votes
2answers
3k views

How does magento create bundle option selections?

I've been looking at programmatically creating bundle products, and got stuck on adding a selection to the options. The problem is that when you create a new selection (Mage_Bundle_Model_Selection) ...

1
2