configurable-product

Preselect configurable product options by simple product URL

给你一囗甜甜゛ 提交于 2019-12-06 04:34:41
问题 How to show configurable product with preselected options if requested url is for simple product? For example: Simple product #1 has: Color: Red URL: /simple-red.html Simple product #2 has: Color: Green URL: /simple-green.html Configurable product has: URL: /config.html If user visits /simple-red.html it should be loaded configurable product with pre-selected option Color: Red If user visits /simple-green.html it should be loaded configurable product with pre-selected option Color: Green 回答1:

Magento Configurable Product - Drop Down Menu Select Option and Keep Other Drop Down Selections Unchanged

送分小仙女□ 提交于 2019-12-05 18:59:57
I have the following javascript on my configurable products page which removes the "Choose an Option..." default from Drop Down menus. When I change one of the selections, the other drop down menus default to "Choose an Option...". I want the drop down menus to remain unchanged when making selections. Example: If I change the selection in the color drop down, I want the type and other options to keep their previously selected options. I've included images below to show the end goal. <?php $_product = $this->getProduct(); $_attributes = Mage::helper('core')->decorateArray($this-

Preselect configurable product options by simple product URL

ⅰ亾dé卋堺 提交于 2019-12-04 10:03:34
How to show configurable product with preselected options if requested url is for simple product? For example: Simple product #1 has: Color: Red URL: /simple-red.html Simple product #2 has: Color: Green URL: /simple-green.html Configurable product has: URL: /config.html If user visits /simple-red.html it should be loaded configurable product with pre-selected option Color: Red If user visits /simple-green.html it should be loaded configurable product with pre-selected option Color: Green Elaman Successfully solved the problem: Extended ProductController , to replace product id of simple

How to create configurable product using magento api?

孤人 提交于 2019-12-02 19:40:37
How can I create a configurable product using the Magento api? Your question of creating a configurable product using the API - the answer is: You can't. It doesn't support it (yet at least.) This is possible with the magento-improve-api plugin. If you need to control which attributes your configurable product is configurable across, you'll need one of the forks of that plugin in goodscloud/magento-improve-api jdurand/magento-improve-api dexteradeus/magento-improve-api josephtikva1 Here's a really good tutorial that walks you through patching the API, so you can use the API directly to create

Show product attributes in list.phtml - Magento

喜你入骨 提交于 2019-11-30 16:01:17
Hello I have read many posts about this, and while it works its not complete. For example; Attribute 1= shoesize and attribute 2 = shoe color. Both are in a dropdown and I would like to list all of the possible attribute colors per product within the category pages. Problem: When I test the code it will only display the first shoe color, instead of all posibilites. What am I doing wrong here? Here are 3 examples of what I have. All code work, but only shows the first attribute color. Example 1: <!-- Find the following loop --> <?php foreach ($_productCollection as $_product): ?> <!-- Inside it

Magento - Layered navigation, configurable products, multiple filters active issue

白昼怎懂夜的黑 提交于 2019-11-30 05:07:59
Say I have a single configurable product in a Magento (1.7) store, "T-Shirt-A" which comes in Red (sizes 1,2) and Black (size 2). In the layered navigation if I select "Black" and "size 1" I WANT to see no results - because there are no simple products that are available in "Black" AND "size 1". INSTEAD I SEE "T-Shirt-A" because it comes in Black and in Size 1 (but, no associated simple product meets both criteria) What can I do to achieve the search results I want (have the filters show the configurable products which have at least one associated simple product that meets ALL filtered

Show product attributes in list.phtml - Magento

孤街浪徒 提交于 2019-11-29 22:17:35
问题 Hello I have read many posts about this, and while it works its not complete. For example; Attribute 1= shoesize and attribute 2 = shoe color. Both are in a dropdown and I would like to list all of the possible attribute colors per product within the category pages. Problem: When I test the code it will only display the first shoe color, instead of all posibilites. What am I doing wrong here? Here are 3 examples of what I have. All code work, but only shows the first attribute color. Example

Magento - Layered navigation, configurable products, multiple filters active issue

自古美人都是妖i 提交于 2019-11-29 03:03:27
问题 Say I have a single configurable product in a Magento (1.7) store, "T-Shirt-A" which comes in Red (sizes 1,2) and Black (size 2). In the layered navigation if I select "Black" and "size 1" I WANT to see no results - because there are no simple products that are available in "Black" AND "size 1". INSTEAD I SEE "T-Shirt-A" because it comes in Black and in Size 1 (but, no associated simple product meets both criteria) What can I do to achieve the search results I want (have the filters show the