Commit 4b13b11c authored by Nahla Shiri's avatar Nahla Shiri

correction prix

parent 9562ff6a
......@@ -30,10 +30,12 @@ jQuery(document).ready(function() {
jQuery(document).on('change', '.color-list input,.format-list input ', function() {
var varID = jQuery('input[name="variation_id"]').val();
// alert(varID);
if (varID != 0) {
var price = jQuery('.woocommerce-variation-price .woocommerce-Price-amount').text();
var price = jQuery('.woocommerce-Price-amount').text();
// alert(price);
var pq = jQuery('.woocommerce-variation-description').text();
jQuery('.price .crete').text(price);
jQuery('.price .crete').text(price +" ht");
jQuery('.pq').text(pq);
}
......
......@@ -282,7 +282,8 @@ do_action('woocommerce_before_add_to_cart_form');
<p class="pq"><?php echo nap_variable_meta($current_variationID, 'variation_description'); ?></p>
</div>
<div class="price">
<span class="crete"><?php echo nap_variable_meta($current_variationID, 'price'); ?> € ht</span>
<span class="crete"><?php echo nap_variable_meta($current_variationID, 'price'); ?>€ ht</span>
<div class="notice">( prix public conseillé )</div>
<div class="font-small">
<div class="product_meta">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment