6

This is a bug affecting configurable products introduced by the new Magento_InventoryConfigurableProductFrontendUi module in Magento 2.4.2. You can read more about the issue here: https://github.com/magento/inventory/issues/3276 As a temporary solution you can disable the module which will remove the message. bin/magento module:disable ...


3

As Thorsten said You won't be able to achieve this with Magento's current default functionality. However, I have found the solution to this problem using a third-party extension. This extension allows you to link multiple products with one product and they have a shared inventory. for example:- you can create your configurable product with several child ...


2

My solution for this problem: I had problem only with color attribute. In my case (and i think in most cases) the problem was, because color attribute is not in default attribute set. And after migration it wasn't assigned to any attribute set. The solution was to assign color attribute to default attribute set in Magento2 before running the migration and ...


2

Finally, I've already solve this issue, it because there is one of the attribute which used on configurable not imported successfully, as in my website variant product from configurable is by size and color when I see the color attribute table, the color not migrated successfully and it show nothing on table catalog_product_entity_int for attribute color ...


2

The row_id only available in the enterprise edition(Adobe Commerce).There is no rule for row_id and entity_id should be the same or not the same. Most entries have the same row_id and entity_id and some have different enity_id and row_id. So it is not a problem. Magento 2: What is the difference between the row_id and entity_id in the %_entity tables? If you ...


2

creating catalog_product_view_type_configurable.xml file to mytheme/Magento_Catalog/layout/ for configurable product and then add below code in it. <move element="product.info.price" destination="product.info.addtocart.additional" />


2

You get cost price of child product like below. $configProduct = $objectManager->create('Magento\Catalog\Model\Product')->load($product_id); $_children = $configProduct->getTypeInstance()->getUsedProducts($configProduct); $price = 0; foreach ($_children as $child){ $price = $price + $child->getPrice(); } echo "Total Price:". $...


2

I don't think you should encounter any trouble as long as you provide relevant data on the attributes that will be searchable in the parent (configurable) product. I would agree with the approach of grouping different sizes/ diameters/ variations of the same product under configurable products. Maybe it would be also a good idea to hide the actual variations ...


2

Please check whether the associated product linked have the configurable attributes first. If by any chance it is removed from the attribute set it might be the cause.


2

Add to Your phtml file where you want to show Configurable product Swatches. /* For Option show Like Listing */ <?= $this->getLayout()->createBlock(\Magento\Swatches\Block\Product\Renderer\Listing\Configurable::class)->setTemplate("Magento_Swatches::product/listing/renderer.phtml")->setProduct($product)->toHtml(); ?> /* For ...


1

As per my understand I think default Magento work like it's show all images in bottom images gallery and it will update only in main image as per your selection. for example If you select red option then main image show red option image.


1

You should extend your custom block to \Magento\Catalog\Block\Product\ListProduct like below and load your custom collection as per you want in block <?php namespace PackageName\HomeContent\Block; use Magento\Catalog\Model\ResourceModel\Product\CollectionFactory; use Magento\Catalog\Model\Product\Visibility; use Magento\Framework\Stdlib\DateTime\DateTime;...


1

The error refers to an invalid element <reference/> somewhere in your theme or module layout xml. To search for all occurrences of <reference run grep -irl '<reference ' * In your magento app and design folders.


1

This should do it ! Don't forget to upvote/mark as answered :) On your custom module: /etc/events.xml <event name="controller_action_predispatch_checkout_cart_add"> <observer name="restrict_sales_model_cart_add_before" instance="vendor\module\Observer\CartAddingConditionCheck" /> </event> /...


1

This is the native behavior (and it's ok like this, because there are cases when you maybe want the product to appear out of stock). You will have to update the parent product by hand or create a cronjob which checks if at least one of the childrens is in stock and set the proper stock status on the parent product.


1

In Magento 2.3.5+ the configurable product variation option data element names changed from option-selected to data-option-selected In your swatchWidget javascript you need to change the element name option-selected to data-option-selected swatchWidget.element.find('.' + swatchWidget.options.classes.attributeClass + '[data-option-selected]').each(...


1

One thing you should have in mind is that the visibility attribute has values at store view level, so you will have to perform the query for each of your stores. Here is a query using subselects in order find the simple products which are not associated to any parent product and have visibility 'Not Visible Individually' in the default store (just replace ...


1

Turns out there was a script running on production that runs $this->setData on all products turning objects into arrays and thus crashing when it runs a pre-defined method $this->getData('media_gallery_images')->count().


1

The Different "tabs" you see in the "Edit Product" page (i.e. on the Magento Admin UIX) are associated with Attribute-Set Groups. Login to Magento Admin -> Stores -> Attributes : Attribute Set -> Click on "Add Attribute Set" button -> Provide an appropriate name for the Attribute-Set and choose "Default" ...


1

I ran into the same Problem with the Facebook Business Extension 1.2.0. Upgrading it to 1.2.3 (download from https://www.facebook.com/business/help/532749253576163) solved it for me.


1

You need to override a file vendor\magento\module-configurable-product\view\frontend\web\js\configurable.js Make changes to a function _configureElement _configureElement: function (element) { this.simpleProduct = this._getSimpleProductId(element); if (element.value) { this.options.state[element.config.id] = element.value; if (...


1

If none of the other solutions are working, check your database table inventory_source_item. If all the products have a status of 0 then update them to 1 and see if that helps. UPDATE `inventory_source_item` SET `status` = '1' WHERE `inventory_source_item`.`status` = 0;


1

We observed a similar issue when we sync the inventory from external custom methods. There are some instances the data is invalid only for some products. If this is external inventory import an ad-hoc incident, then we may use below SQL query to fix it. INSERT IGNORE INTO inventory_source_item (source_code, sku, quantity, status) select 'default', cpe.sku, ...


1

Is not recommended edit the core files either magento or any framework. I made one override to the class. I don't know if there is a best way to fix this issue, but for mi works. di.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...


1

Tested in Magento Commerce 2.4.1 This will give you a list of simple products that don't have any parent/child mapping with a configurable product, using a simple left join. select * from catalog_product_entity e left join catalog_product_super_link sl on sl.product_id = e.row_id where sl.product_id is null and e.type_id = 'simple'; Similarly... This will ...


Only top voted, non community-wiki answers of a minimum length are eligible