5 votes

color picker in configuration Mismatched anonymous define() module in Magento 2

As per your error you want to add adminhtml_system_config_edit.xml on path Vendor/Module/view/adminhtml/layout/adminhtml_system_config_edit.xml in your module and add below code: <?xml version=&...
Charmi Patel's user avatar
  • 1,016
1 vote

Why the configurable product price disappers in edit mode (Magento 2.4.6)

In Magento configurable product does not have a price. because it represents their child products. - main product -> No Price - Child 1 -> Yes price - Child 2 -> Yes price - ...
Msquare's user avatar
  • 8,360
1 vote

Getting child product of configurable in Observer?

To get child product data for configurable products within the "checkout_cart_product_add_after" event, you can use the following approach. Firstly create the events.xml file in your module &...
Grazitti Dev's user avatar
1 vote

Product Url Redirect to Home Page Issue Magento 2

There are a few things I would check to troubleshoot the Magento configurable products redirecting to the home page when you remove .html from the URL suffix: Make sure you have cleared all caches ...
Ibtisam Bhatti's user avatar
1 vote

Translating Child Product Names in Magento

To achieve the functionality of translating child product names in Magento according to their respective store languages, you can follow these steps: Enable Multiple Store Views: Make sure you have ...
Hikmadh Commerce's user avatar
1 vote

Is there any API to get Products details in magento2 without Bearer Token

Try this all steps 1.Step 1: Inject the necessary dependencies Inject the following dependencies into your ProductRepository class constructor: use Magento\Catalog\Model\ProductRepository; use Magento\...
Ansari's user avatar
  • 435
1 vote

Get possible sizes of product on product page in Magento 2

Based on Jitendra Patel's answer, this is the actual code for Magento 2. $sizes = array(); if ($product->getTypeId() == \Magento\ConfigurableProduct\Model\Product\Type\Configurable::TYPE_CODE) {...
Teun K's user avatar
  • 23
1 vote

Get possible sizes of product on product page in Magento 2

You can check the below code to get all the sizes of a configurable product. $sizes = array(); if($_product->isConfigurable()){ $allProducts = $_product->getTypeInstance(true)-&...
Jitendra Patel's user avatar
1 vote

What is the difference between a Simple and Virtual Product?

we don't need to define weight in virtual products
savita nagdev's user avatar

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