Last active
September 10, 2019 03:58
-
-
Save Musilda/e700755fafaaf5577515d3ba67a8d78b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Use template file single-produtc/add-to-cart/variation.php | |
//Replace code with snippet | |
?> | |
<script type="text/template" id="tmpl-variation-template"> | |
<div class="woocommerce-variation-description">{{{ data.variation.variation_description }}}</div> | |
<div class="woocommerce-variation-price">{{{ data.variation.price_html }}}</div> | |
<div class="woocommerce-variation-availability">{{{ data.variation.availability_html }}}</div> | |
<div class="woocommerce-variation-sku"><strong>Katalogové číslo:</strong> {{{ data.variation.sku }}}</div> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment