Questions tagged [configurable-product]
Denotes the products with type as configurable.
2,084
questions
0
votes
0
answers
22
views
Change Configurable Product Name to Simple Name in Minicart & Cart
Over the past few days I have been trying to change the Product Name in the Minicart & Cart.
I have a configurable product with two child simple products.
When I select an option and add to cart, ...
0
votes
0
answers
21
views
Passing Configurable URL With Simple Product
I have a module setup for Magento 2.4.6 which replaces the product name of a configurable with the simple product selected.
It replaces this in the minicart & cart. It works fine except that the ...
0
votes
0
answers
47
views
Show custom attribute of selected child item instead of their parent in product details page in Magento 2
How can i Show custom attribute of selected child item instead of parent/ConfigurableProduct attribute value in product details page in Magento 2
Parent/Configurable product:
Here Child Product ...
0
votes
1
answer
48
views
Getting child product of configurable in Observer?
Magento 2.4.6
I am listening to the checkout_cart_product_add_after event. In my observer I am trying to get an attribute from the added child product. I did not manage so far, all data that I get is ...
0
votes
0
answers
31
views
Magento 2.4.6: How to make auto select first child product of configurable product?
I am using version 2.4.6. I am trying to make auto select first child product from the configurable product in product detail page.
Because the main image of the configurable product will overlap with ...
0
votes
0
answers
16
views
Cannot update simple product of configurable product, Error in update query of Catalog Inventory Stock status table in Magento 2.4 CE
I created configurable product with variants. Even though I added
quantity per source for each sub product > 0
manage stock as "Yes"
Stock Status as In Stock
It shows Out of Stock.
Also ...
0
votes
1
answer
67
views
Product Url Redirect to Home Page Issue Magento 2
My configurable product redirecting to home page. I have removed the .html from Product URL Suffix and it works fine.
Now concern is if i open my configurable product then it redirect to home page. ...
0
votes
2
answers
54
views
Layered Navigation Price Filter not working after update - Min/Max price in catalog_product_index_price is 0.000
Recently I upgrated magento to 2.4.2 and now I'm facing a problem with the Price Range filter by Mageplaza Layered Navigation.
I have managed to solve a previous problem of the price slider not ...
0
votes
1
answer
35
views
Translating Child Product Names in Magento
I would like to discuss a scenario regarding the translation of child product names in Magento according to their respective store languages.
Currently, we have a Configurable Product with the name &...
0
votes
1
answer
44
views
How to change swatch image
How to change the image of swatches for disabled options.
By default, Magento put a vertical red line if the option is not available for all options.
I want to change the image to my custom image.
0
votes
2
answers
56
views
How to hide disabled option from configurable product options
How to hide configurable product options values which are disabled in drop-down or in swatches.
As in the image red marked are disabled and not selectable.
0
votes
1
answer
46
views
How to get children skus list from configurable product?
I know to load children skus with loading parent object but I am finding the way where I can load all children items by just passing configurable product id, is there any method please share here
...
0
votes
2
answers
40
views
Magento 2.4.6 - Set the sort of the attributes in a programmatically created configurable product by setUsedProductAttributeIds()
I'm successfully import from a CSV file a massive number of SIMPLE products.
Than I created the CONFIGURABLE products and assigned the simples by
$configurableproduct_load->...
0
votes
0
answers
15
views
Bug when displaying Configurable Product simple tier prices
I have a Mag 2 site which uses configurable products, some of these use tier pricing for the simple products. If I have a tier price which uses the fixed option the following code in final_price.phtml ...
1
vote
1
answer
40
views
Is there any API to get Products details in magento2 without Bearer Token
I want to get products By Id but it the way i am doing this doesnot return some product details in case of configurable
<?php
namespace Vendor\MobileApp\Model\Api;
use Vendor\MobileApp\Api\...
0
votes
2
answers
20
views
Configurable product prices not changing when variation changed - Magento 2.3.5
This issue appeared only with the new products that we recently imported into the Magento. All these new products have different attributes and attribute set.
Prices are still changing correctly on ...
0
votes
0
answers
11
views
How to define if product has swatches?
Magento 2.4.4.
I am getting some configurable product model.
$product = $block->getProduct();
I need to determine, whether this product has swatches or not.
Thanks for any help.
0
votes
0
answers
25
views
How to get stock value in dropdown options on configurable probuct page?
I need to get the stock value of a simple product in the dropdown selector from the configurable product page.
I found the _fillSelect method in
module-configurable-product/view/frontend/web/js/...
0
votes
0
answers
14
views
Magnto 2.4.4 Customer group pricing in Configurable products ignored in cart
I've created a configurable product
I manually added existing products
All those products has a Customer Group pricing set for different quantities
All goes well until I get to the cart. Once in /...
0
votes
0
answers
21
views
Configurable product with swatch AND dropdown attributes changes dropdown workflow
Preconditions and environment
Magento version 2.4.5
Steps to reproduce
Create a configurable product with only dropdown attribute - For example https://magento-802601-3429172.cloudwaysapps.com/only-...
0
votes
1
answer
18
views
Configurable Product for all the associated products
Is it possible to create a configurable product, which works both ways?
So for example:
Product A is configurable, which means that you can choose a particular option let say color or size, and when ...
0
votes
0
answers
116
views
Creating an Order with configurable Product via REST API
I have been able to create an Order with simple Products via REST API and then had no issue creating its invoice and shipment. Now I want to create an Order with configurable Products, and although I ...
0
votes
0
answers
29
views
How to update products images roles with rest Api for configurable products?
either unique or configurable product, we send images the same way. The only difference is that configurable product have 3 role, unique have 4, because they can be "swatch",
when do update ...
0
votes
1
answer
38
views
what does this error mean and how to solve it "message":"Products \"%1\" and \"%2\" have the same set of attribute values.","parameters"
I did an upload and the simple skus were created, but the configurable sku shows this error and is not created. What does it mean and how can I fix it?
1
vote
0
answers
64
views
Magento 2 add configurable product to quote with a custom price, the price is always the original from database
When adding a configurable product to a quote and trying to set a custom price on the product, magento is always showing the product original price in the cart and not the custom price:
$...
1
vote
1
answer
67
views
How to change product name dynamically in configurable product when click swatches Magento 2.4
How to Change the Configurable products name dynamically when i click configurable swatches, currently price change when click swatches .I need to change name too. please suggest better way! Thank You,...
0
votes
0
answers
31
views
Get Configurable Child product description on PDP
Magento 2.4.5 I want to show each product variation's description on PDP for Configurable Product. I got name and sku on PDP, but couldn't get product description on view page. Please help. I want to ...
0
votes
1
answer
21
views
How to load product's swatch info through PHP script which is showing on listing page and product detail page?
Does anyone suggest how to load the product's swatch info through the PHP script which is showing on the product detail page and category pages?
$config_product_id = 12;
$configProductObject = $...
0
votes
2
answers
129
views
Why is the configurable product sometimes in sales_order_item?
we are having a problem with some reportings.
The "problem" is, that Magento sometimes stores the configurable product along with the actual variant in sales_order_item.
+--------------+-----...
0
votes
1
answer
56
views
Magento 2 : How To Get Configurable Product's Child Product Id Using Text-Swatch-option?
I want to get the product id on selecting the text-swatch option. for that, I have used the code given below. I am getting the error of "Cannot read properties of undefined (reading 'options')&...
0
votes
0
answers
16
views
order_items table contains simple item without prices
I noticed a strange behaviour and I'm not able to understand if this is correct or not.
First of all I would like to specify that I'm not a Magento expert. I started with Magento just now.
On a ...
0
votes
0
answers
42
views
Magento order with only one simple item with parent-id and without any price
I have a strange issue.
Sorry for the long description but I would like to provide to you as much as possible the information that I collected.
I'm not a Magento expert so, I don't know if this is ...
0
votes
0
answers
29
views
Configurable products options not coming in Wishlist and Compare products Page
Configurable product options visible issue on the compare and wishlist page. I am not able to find the proper solution to get the configurable product option on the compare and wishlist page.
Please ...
1
vote
3
answers
239
views
Get possible sizes of product on product page in Magento 2
I am using the method public function afterToHtml(ProductView $subject, $html) on use Magento\Catalog\Block\Product\View as ProductView; to attach code on the product page for an item with multiple ...
0
votes
0
answers
18
views
adding different labels on different simple products based on the same configurable product
I want to put different labels on products pictures:
for example:
iPhone 12 good condition -10%
iPhone 12 excellent condition -15%
but all i have is the same label on the different shapes(simple ...
0
votes
1
answer
99
views
Magento 2.4.5: Show out of stock notification on configurable product swatch selection
I want to show out of stock message on configurable product swatch selection.
Any help would be appreciated.
0
votes
2
answers
79
views
How to programmatically assign simple product to configurable on Magento 2.4
How do you programmatically assign simple product to configurable?
What I tried:
$configurableProduct = $this->objectManager->create('Magento\ConfigurableProduct\Model\Product\Type\Configurable')...
0
votes
0
answers
24
views
Update the configurable products without looping
I'm searching for a solution to update the configurable product's stock and price. Because all of the configurable products have more than 1000 variants, looping through all of the child SKUs and ...
0
votes
0
answers
25
views
Magento 2 adding a block on top of add to cart and quantity for configurable products
I am trying to add a custom block on top of the quantity and add-to-cart on the product details page for all products by making changes to catalog_product_view.xml.
I am able to achieve this using ...
0
votes
1
answer
25
views
How to display newly created simple products inside the configurable product's Associate product grid in Magento 2.4.4?
I'm using Magento 2.4.4 version in which I need to assign a newly created simple product inside the configurable product using the "Add Products Manually", however, the same newly created ...
0
votes
0
answers
52
views
How to get sku of configurable product for each option selected without using requirejs
I want to get selected options sku to display in external url that i add in button link. but i want to do it without using requirejs and compatible with theme "hyva" magento theme. so can ...
0
votes
0
answers
22
views
how show one product with different color in product details page but every color has different url depend on color value
i saw example and i want make like that
https://www.zalando.sk/nike-sportswear-club-pant-teplaky-active-pink-ni122e0d8-j11.html
0
votes
0
answers
19
views
Set up redirect so customer cannot view individual variant pages
Using config products, whilst setting variants of the config product as visible only to Search - I want to be able to keep those sorts of items to My Favourites in front-end.
I also want the user to ...
0
votes
0
answers
34
views
Magnto 2.4.5 Configurable product options are showed separately on Layered Navigation Category Filter
after upgrading to Magento 2.4.5v in the Layered Navigation Listing, configurable products are shown separately.
All configurable options are shown as simple products separately even are selected as &...
0
votes
0
answers
48
views
How to get child image product in shipping email?
On the orders email I was able to like this
<?php
$_item = $block->getItem();
$_order = $_item->getOrder();
$imageSize = (int)$block->getConfig('sales_email/imageconfig/image_resize');
...
0
votes
0
answers
29
views
How to assign a simple product in Configurable Product in Magento 2
Hello I am using given below code to add simple product in configurable product.but it is not properly working.
$productId = 1; // Configurable Product Id
$objectManager = \Magento\Framework\App\...
0
votes
1
answer
512
views
Error 524 A timeout occurred when creating a configurable product with variation images cloudflare
Error 524 A timeout occurred when creating a configurable product with variation images. (but products are created when I refresh page.)
If there are no images on variations, a timeout error doesn't ...
0
votes
0
answers
38
views
How to change a custom attribute value after clicking swatches in configurable product
How to change a custom attribute value after clicking swatches in configurable product.
I want to show simple product attributes dynamically while clicking swatches.
Any tutorial or code snippet to ...
0
votes
0
answers
340
views
Magento 2 REST API: How to get stock status from items in a configurable product
Basically I want to get the stock status for att the children items of a configurable product.
I can query this endpoint, but I don't get the stock status:
/rest/V1/configurable-products/{SKU}/...
0
votes
1
answer
228
views
Simple Product Not Showing in Configuration Tab
I have created a configurable product from admin panel, I used one attribute with two values, so it is working fine on frontend and both options are showing in the dropdown as expected. But the issue ...