5
votes
Accepted
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=&...
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
- ...
1
vote
Accepted
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
&...
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 ...
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 ...
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\...
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) {...
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)-&...
1
vote
What is the difference between a Simple and Virtual Product?
we don't need to define weight in virtual products
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
configurable-product × 2092magento2 × 652
magento-1.9 × 467
product × 259
simple-product × 200
price × 153
product-attribute × 136
attributes × 120
magento-2.1 × 94
custom-options × 90
swatches × 87
magento-1.7 × 71
cart × 64
magento2.3 × 60
magento-1.8 × 59
addtocart × 57
color-swatches × 53
associate-products × 47
php × 46
import × 46
products × 46
out-of-stock × 44
configurable-swatches × 42
product-images × 40
stock × 38