New answers tagged

0 votes

Custom swatch message 'This is a required field'

<script> require([ "jquery", "mage/mage", "mage/validation" ], function($){ $('#product_addtocart_form').mage('validation', {...
user avatar
  • 76
0 votes

Magento 2 : Get Configurable Product using swatch-option

Following code work for me you can try it. app\code\Vendor\Extension\etc\di.xml <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
user avatar
  • 2,498

Top 50 recent answers are included