6 votes

Magento 2 - Cant buy product - "There are no source items with the in stock status"

DO NOT WORRY IF YOU HAVE PRODUCTS OR ORDERS IN YOUR DB, THIS IS SAFE and TESTED. Whenever we will upgrade magento 2.3.X version to magento 2.4.3 at that time Multi Source Inventory Issue happens. To ...
user avatar
4 votes

Magento 2 - Add configurable product and options to quote

Try using this piece of code. your request info should have 'selected_configurable_option'(i.e simple product id). The code will be /* 136 is finish id and 137 is length attribute id */ $...
user avatar
3 votes
Accepted

How to move product.info.price to product.add.to.cart for configurable products in Magento 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" ...
user avatar
  • 112
2 votes
Accepted

When trying to edit a configurable product I'm getting VariationMatrix error Magento 2.4.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.
user avatar
  • 183
2 votes

How to show configurable product options in popup in Magento 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\...
user avatar
  • 5,772
2 votes
Accepted

Magento 2 : row id and entity id not same in catalog_product_entity table

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 ...
user avatar
  • 9,479
1 vote

Get selected options of a simple which belongs to a configurable product

I ended up resolving the parent product and mapping the configurable attributes from the parent to the ones the simple product has: class ConfigurableAttributes implements ArgumentInterface { ...
user avatar
  • 268
1 vote

Capture minicart configureable product variant info

Finally able to find ways to obtain the data of the product event by using this code selectedItem = _.find(customerData.get('cart')().items, function (item) { return itemId === Number(item['...
user avatar
1 vote
Accepted

I have migrated my Magento 1.9 to Magento 2.4 but Display Actual Price in Magneto 2 backend is not showing?

You need to enable that feature under STORES -> Settings -> Configuration -> SALES -> Sales -> Minimum Advertised Price and set Enable MAP to Yes first in order to have Advertised ...
user avatar
1 vote
Accepted

Around plugin usage in Magento2

Your plugin class should look like this: <?php namespace Vendor\Module\Plugin\Helper; use Magento\Catalog\Model\Product; class Data { /** * @param \Magento\ConfigurableProduct\Helper\...
user avatar
1 vote

Extreme big headers only in large configurable products

Before we make any assumptions about the cause of these HTTP 503 errors, let's look at the logs for these transactions. Run the following command: varnishlog -g request -q "ReqUrl eq '/'" ...
user avatar
1 vote
Accepted

magento 2.3.6 - Error: cannot call methods on priceBox prior to initialization

It sounds like the PriceBox jQuery widget hasn't been initialised yet. From looking through the code it appears this is how it is initialised on the product page: <script type="text/x-magento-...
user avatar
  • 15.1k
1 vote

Configurable product duplicates smaller images (below the main image)

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 ...
user avatar
1 vote

How to show configurable product options in popup in Magento 2

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; ...
user avatar
  • 1,938
1 vote

Magento 2: Error on configurable products frontend: Element 'reference': This element is not expected

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 ...
user avatar
  • 5,511
1 vote
Accepted

Magento 2 : Double qty before add to cart

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"> <...
user avatar
  • 1,107
1 vote

Magento 2 - Cant buy product - "There are no source items with the in stock status"

I would like to add to this by saying whether you re-saved the products ( either manually or via script) or you did it via the DB, you still need to check and make sure your source link was created ...
user avatar
1 vote

Magento 2 - Cant buy product - "There are no source items with the in stock status"

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 `...
user avatar
1 vote

How to add product specification table in long description field in magento 1.9

optech is a best billing inventory software in coimbatore used by retail shop,gst billing software,inventory control, accounts and invoicing.Call 98422 90667 now for FREE Demo. enter link description ...
user avatar

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