Questions tagged [configurable-product-options]
The configurable-product-options tag has no usage guidance.
42
questions
0
votes
1
answer
18
views
How can I get the codes from the options of an attribute?
public function getOptions($attributeCode)
{
$attribute = $this->eavConfig->getAttribute('catalog_product', $attributeCode);
$tmpOptions = $attribute->getSource()->...
0
votes
0
answers
10
views
Magento 2.4.3 - Layered Product Images
Is there any way to layer product images so I do not need to create/store numerous images for each product?
For example, if I am selling coffee mugs in various colors and offer a multitude of designs, ...
0
votes
0
answers
15
views
configurable product outcomes changed to grouped / bundled items?
i only see that you can replace a configurable product's outcome with a simple product. our store will have about a dozen configurable products that will have 100s of outcomes based on the attributes, ...
0
votes
1
answer
106
views
Magento 2: Select first dropdown option on change
I'm new in Magento 2 frontend development (and in development in general) and I am really lost at it, it's being hard to get arround some concepts, so I would like to ask for help in some specific ...
1
vote
1
answer
70
views
Unable to Save Configurable Product Options using API
I am using Magento's API to add the Configurable Product Options but I don't see them in Configurable product data.
EndPoint Used to add the Configurable Product Options
https://example.com/rest/...
0
votes
1
answer
30
views
Programmatically link configurable product with simple product threw options
I have a configurable product created and also simple products.
I want to add the option on the forme and poids attribute to link them.
These options are properly configured, they appear in the admin ...
0
votes
0
answers
7
views
Introduction Packs/Bundled Product
I would like to sell a INTROPACK1 which consists of SKU A1, A2 and A3.
When the customer adds INTROPACK1 to their basket, is there a way we can set up the product in the backend where the INTROPACK1 ...
0
votes
1
answer
43
views
magento 2.3.6 - Error: cannot call methods on priceBox prior to initialization
I try to add configurable options in a custom modal page (quick view). But when I open that modal I have the following error:
Error: cannot call methods on priceBox prior to initialization
and the ...
0
votes
1
answer
157
views
When trying to edit a configurable product I'm getting VariationMatrix error Magento 2.4.2
I am using Magento 2.4.2 community when I try to edit a configurable product I am getting the below in my store. How to fix it.
Notice: Undefined offset: 0 in
/var/www/html/vendor/magento/module-...
1
vote
2
answers
470
views
How to show configurable product options in popup in Magento 2
I have create one popup. In popup get configurable product collection and it working fine. But i have faced one issue. In configurable products collection configurable product options not showing. ...
0
votes
1
answer
140
views
How to GetData of attribute value in child
I am trying to get attribute value "barcode" for child product in magento2.
Below code working for cofigurable parent product.
$_product = $this->getProduct();
$_barcattr = $_product->...
0
votes
0
answers
33
views
How to enable swatches to display as crossed out when out of stock?
We sell T-shirts in sizes S, M, L. And for instance L is sold out.
I want swatche with value L be crossed out.
0
votes
1
answer
41
views
Magento 2 order by product options
I am getting product options by using below code.
$customOptions = $objectManager->get('Magento\Catalog\Model\Product\Option')->getProductOptionCollection($product);
Now I want to sort them in ...
0
votes
1
answer
656
views
GraphQL Error in Magento 2.4.1: Cannot query field "uid" on type "ConfigurableProductOptionsValues"
I'm having trouble getting the uid for my Configurable product options via GraphQL.
Testing with this simplified query:
{
products(filter: { url_key: { eq: "test-product" } }) {
...
0
votes
0
answers
276
views
Magento 2.3.4 - Configurable products auto select first option
On my clothing store, when I enter on product page of a configurable item, I need to auto-select the first option for color (swatch attribute).
I found this solution:
How to make auto select first ...
0
votes
2
answers
894
views
magento2 - Data migration: missing configurable attributes after migration from 1.9.4.2
After completing a data-migration trying to exclude the import of products I can no longer complete the saving of a configurable product and the following window is shown
I have a dump of the db ...
0
votes
0
answers
30
views
How to select an associated product of a configurable product to display in catalogsearch page?
Without any configuration, the green pant is shown by default when I search for 'yoga pant'. My question is How can I make, for example, blue pant size 34 and its price and stock status as well to ...
1
vote
0
answers
486
views
Issue with Configurable Products Out of stock Products Price does not fluctuate in Magento 2.3.2
we are facing issue in Magento 2.3.2 version:
Here we are using default Magento 2 Mutli-inventory Management. In Configurable Products I made some changes to show Out of Stock Products to display ...
0
votes
0
answers
474
views
Magento 2.3 - $product->getTypeInstance(true)->getOrderOptions($product) returning fatal error
I am using the following code in a plugin's aroundGetItemData() method.
$product->getTypeInstance(true)->getOrderOptions($product)
It's returning me the following error,
Fatal error: ...
3
votes
1
answer
1k
views
Magento 1.9 - How to debug - Configurable product price changed to 0 if chooses colors attribute
I have configurable product if choose different color in products page price return 0,
configuration :
In my configurable productpage,
Note : I am using this extension, https://pluginarchive.com/...
0
votes
1
answer
324
views
Magento 2 Get product options id for sql query
I have this query:
SELECT * FROM `sales_order_item` WHERE `product_options` LIKE '%2010%'
With the last bit being the decoded option id, I need to find two specific option ids to use inside this ...
1
vote
2
answers
2k
views
Magento2 + Need to display Configurable Drop Down option on category page
I need to display the only Size attribute drop-down on a category page listing. Size is a configurable option & Catalog Input Type for Store Owner value is Dropdown.
I have enabled Used in ...
0
votes
1
answer
643
views
Display Custom Attribute Of Simple Product Within A Configurable Product
When selecting product options within a configurable product I want to show some custom attributes of the simple product.
I have created a dropdown attribute called "my_delivery_method" with Two ...
2
votes
0
answers
30
views
Add options to several products at the same time
i've created some products and now I need to add several option on each of them. How can add to a list of products the created option ?
I've found how to import them into one product at a time, but ...
0
votes
1
answer
963
views
How to add configurable product In magento 2 using rest api?
I created a configurable product using the below link and Payload
1 Configurable Product Created
http://localhost/rest/V1/products
{
"product": {
"sku": "Js-Con",
"name": "Js-Con",
"...
2
votes
2
answers
4k
views
Want to display price in configurable products each options in magento 2
I want to display configurable products associated simple product price in configurable product option.
I am attaching image as price display below the option value. If some one has did this task ...
0
votes
1
answer
98
views
select product details page options if dropdown has one value in Magento 2.1
I want to select the options in each dropdown in product details page if it has one option.
for example
dropdown : 1 (option)
dropdown : 2 (option)
dropdown : 1 (option)
Then on the selection of ...
3
votes
1
answer
1k
views
Magento 2.3 Configurable Product drop down price calculated wrong
The base comparison price for a configurable product seems to be the cheapest price excluding tax.
Then the extra price added by the each configurable product in a Magento 2.3 dropdown is calculated ...
0
votes
0
answers
556
views
Option product quantity is zero, not displaying in configurable product in magento 2.2
I tried admin panel settings
Products -> Catalog ->inventory
Dispaly product if out of stock (yes). But still for configurable product of my swatch option quantity is (0) zero, that option(child) ...
0
votes
1
answer
864
views
Magento2 How to Show Sepereatly Configurable Product attribute and Product Custom Options
Into Magento2 Configurable Product I want to add a Customizable Options.
But both the Configurable Product and Customizable option display into the same class.
Please check first size option is ...
0
votes
1
answer
295
views
Default values are not rendering on Wishlist product edit page
Default values are not rendering on wishlist product edit page
Steps to generate the issue:
Navigate to any configurable product page on the frontend.
Select the dropdown options and add the product ...
2
votes
2
answers
1k
views
Change product price based on choosen weight
is that possible to change easily the price based on product weight ? And is that possible to select product weight ?
Let me explain :
My website will sell for example some flour in bag of 25kg. But ...
1
vote
0
answers
456
views
Magento 2 Error - Failed to load resource: the server responded with a status of 403 (Forbidden)
I am overriding magento configurable.js to my theme and adding some function.i am getting an error of 403 forbidden url.any one can you please help me to short it out.
_specifictionContent:function (...
1
vote
0
answers
15
views
Display drop down box on product front end
I want to add a drop down box that allows the customer to specify what we should do if an item doesn't have the specified amount (Ship what you have, Cancel item, or Contact me).
I would like to ...
0
votes
1
answer
341
views
Show Configurable Product Options in UpSell Block and Add To Cart
Magento 2.2.3
I currently have the Upsell block displaying configurable products on the product view page.
I would like to display a drop down of the configurable options and then be able to add the ...
0
votes
0
answers
325
views
Magento 1.9 get product options value for only the checked
I want to get the product options value for only the checked product option.
My current code loads all product options values, instead of the checked one.
I use radio buttons for my product options, ...
0
votes
1
answer
1k
views
Add attribute name to configurable select option in Magento2?
By default, the drop-down box for configurable products displays 'Choose an option...'. I'd like to change this to 'Select {attribute label}'.
I found the code for this in:
vendor\magento\module-...
0
votes
1
answer
381
views
Magento 1: API SOAP V2 created configurable product with associated simples
Description:
I need help with the creation of a configurable products with Magento SOAP API V2.
My problem is:
I managed to create the configurable product, but there aren't any simple associated ...
0
votes
2
answers
6k
views
In which table the attribute set ids are stored in magento 2
In which table the attribute set ids are stored in magento 2.
I wish to save the product with its attribute set id . So Please provide me a solution
0
votes
1
answer
170
views
How to upload large number of variations in Configurable Product?
I am facing problem with large number of variations in Configurable Product. I am trying to add ring and it has around 384 variables, 24 sizes, 4 metal types and 4 color/clarity.
This is the sample ...
0
votes
1
answer
445
views
How to get only in-stock configurable option values in Magento2?
I want to get only the configurable option values which are ONLY in-stock.
For instance, assume 'size' is the configurable option and it's options are XS,S,M.L,XL,XXL. Product 'test' has only S,M,L ...
2
votes
2
answers
2k
views
Magento2: value_index in configurable product API
In official REST API guide Step 4. Define configurable product options, there are payload like below.
{
"option": {
"attribute_id": "141",
"label": "Size",
"position": 0,
"...