We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b589d96 + b0404ff commit a2ebf12Copy full SHA for a2ebf12
app/code/Magento/ConfigurableProduct/view/frontend/templates/product/view/type/options/configurable.phtml
@@ -30,9 +30,11 @@ $_attributes = $block->decorateArray($block->getAllowAttributes());
30
</div>
31
<?php endforeach; ?>
32
<script type="text/x-magento-init">
33
- "#product_addtocart_form": {
34
- "configurable": {
35
- "spConfig": <?php echo $block->getJsonConfig() ?>
+ {
+ "#product_addtocart_form": {
+ "configurable": {
36
+ "spConfig": <?php echo $block->getJsonConfig() ?>
37
+ }
38
}
39
40
</script>
0 commit comments