Questions tagged [superattribute]
Denotes questions related to magento super attributes. Super attributes are configurable attributes in magento.
23
questions
7
votes
6
answers
20k
views
Get simple product id from configurable product selection
Assuming I have a configurable product on the frontend with two dropdowns:
Size
Color
How can I get the final simple product id once the user has made their selections.
In other words: once I know ...
4
votes
2
answers
3k
views
Magento Custom options dropdown uses Super Attribute Code instead of Super Attirbute Label
EDIT: It seems as though magento is passing the Attribute code as the Attribute Label.
I am in the process of rebuilding a website and I am using and inventory system (Linnworks) to push my listings ...
4
votes
2
answers
2k
views
Adding multiple configurable product variations adding first one multiple times
I'm trying to add multiple variations of a configurable product to the cart at once, and I've put the code together, but currently it's adding the right qty of products, but only using the first ...
4
votes
0
answers
1k
views
Quote Item, Configurable Product, Info_BuyRequest contains "uenc"
While trying to load the simple product "child" of a configurable product in the order email item detail, I ran this code:
if ($_item->getProductType() == 'configurable') {
$options = $_item-&...
4
votes
1
answer
1k
views
Configurable product super attribute Integrity constraint violation error
I have a script that creates the new configurable product, but I get an error when I try to save the super attribute price configuration, here's my code:
function createConf(){
//other code before...
...
3
votes
3
answers
7k
views
Get product from configurable attributes array using getConfigurableAttributesAsArray?
I'm trying to get the associated products using the method $p->getTypeInstance(true)->getConfigurableAttributesAsArray($p) which results in an array like this:
Array
(
[0] => Array
...
2
votes
2
answers
5k
views
Add to cart configurable product programatically magento2
I tried with add to cart configurable product but getting error when run the custom code using observer but same code when run from controller than it's working fine. you can see below code for bundle ...
2
votes
0
answers
794
views
get final price of configurable super product with catalog rules applied
I'll try to explain it in details as it's quite tricky.
Let's say I have configurable product X with price 10, and color variations red and green with fixed price +5 and -5.
So the final price for ...
2
votes
1
answer
628
views
Super product attributes same price for attribute
This is a bit hard to explain. But in Super product attributes configuration there is a field where you can set a cost that is added to the product. I want to be able to have this price sett as a ...
1
vote
1
answer
147
views
SOLVED: How do I sort configurable product super attributes on import? (M1)
My theme and business requirements stipulate that the super attributes for configurable products be presented in a specific order. While this can be changed in the Admin while editing a product by ...
1
vote
1
answer
1k
views
Importing configurable products having super product attributes
I've magento version 1.9.0.1. It's easy to import/export simple product however a little tricky is configurable products. I'm able to import configurable product too but since I don't know what is the ...
1
vote
1
answer
794
views
How to add simple product to basket if this product is child of configurable product
How to add simple product to basket if this product is child of configurable product ?
How I can get super_attributes of simple product ( I got ID ) to make it ?
An example: I have T-shirts (id 1) ...
1
vote
1
answer
103
views
How do I get dynamically updated price after selecting an option with additional value?
After selecting a attributo or super-attributo which are of options of product that may have an additional value or not, if you have additional value the price is changed automatically.
I need get ...
1
vote
0
answers
78
views
How to show full price in super attribute drop-down instead of only the increased price in Magento?
I've created a configurable product with a super attribute.
It works great and i can select the different products from the dropdown menu.
Now my question is the following: Is it possible to also ...
1
vote
1
answer
154
views
How to add multiple subproducts to the Magento 1.x cart at the same time?
I know there are already a lot of answers for how to add multiple products at once. I don't think this is a duplicate because here we are talking about subproducts not products.
Currently on my ...
1
vote
1
answer
661
views
Integrity constraint violation: Duplicate entry for key 'UNQ_CATALOG_PRODUCT_SUPER_ATTRIBUTE_PRODUCT_ID_ATTRIBUTE_ID'
I cant save the super attribute because i get error
$pricesByAttributeValues = array();
$baseCode = Mage::app()->getBaseCurrencyCode();
$allowedCurrencies = Mage::getModel('directory/currency')-&...
1
vote
1
answer
244
views
Difficulty with different pricing on configurable products with 2 or more configurable attributes
I'm having a problem with pricing a configurable product (CP) with 2 (or more) configurable attributes (CA), where all of the associated simple products (SP) have unique prices.
When there is only ...
0
votes
1
answer
427
views
Should _super_attribute_code should be a static value or a dynamic one?
Title pretty much says it but let me flesh this out more.
For configurable products, is it better to use something like a dynamic value such as color for something such as
'_super_products_sku' =>...
0
votes
1
answer
421
views
How to export attribute values with their ids?
I need to get all attribute values with their ids into a .csv file. Is it possible to export this data by creating an advanced profile or something? Need the easiest option.
0
votes
1
answer
588
views
Check "Use Default Value" for super attribute
In the BO, when I go on a configurable product > associated products, I have this following block :
I want to check the checkbox "use default" for my configurable products.
When I load the ...
0
votes
0
answers
296
views
Magento2 configurable product - multiple options prices
I run into a strange issue with creating configurations for a configurable product via magento2 backend.
The following scenario:
I want to create a configurable product with 3 attributes so I did
in ...
0
votes
1
answer
161
views
Can you export a configurable product .csv and reuse it? Not working for me
Another attempt to solve this, but it did not work.
Is it possible, or not, to export a configurable product .csv and reuse it?
I downloaded a different configurable product that had the exact same ...
0
votes
1
answer
161
views
Super Attribute Pricing Report
I need to update the prices of my simple products so that they appear properly in my Google Shopping data feed. A systematic/automatic approach is likely overkill since we only currently have about 60 ...