Skip to content

Commit 32ed601

Browse files
author
Stanislav Idolov
committed
MAGETWO-86331: Issues #10559 - Extend swatch using mixins (M2.1) #12928
1 parent a48c797 commit 32ed601

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Swatches/view/frontend/templates/product/listing

1 file changed

+2
-1
lines changed

app/code/Magento/Swatches/view/frontend/templates/product/listing/renderer.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"jsonConfig": <?php /* @escapeNotVerified */ echo $block->getJsonConfig(); ?>,
1818
"jsonSwatchConfig": <?php /* @escapeNotVerified */ echo $block->getJsonSwatchConfig(); ?>,
1919
"mediaCallback": "<?php /* @escapeNotVerified */ echo $block->getMediaCallback() ?>"
20-
}
20+
},
21+
"Magento_Swatches/js/catalog-add-to-cart": {}
2122
}
2223
}
2324
</script>

0 commit comments

Comments
 (0)