add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'VND': $currency_symbol = 'VNĐ'; break;
}
return $currency_symbol;
}
FAQ – Noomacca
Chuyển đến nội dung
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla.
Block "faq-accordian" not found
/*Author: levantoan.com*/
(function ($) {
$(document).ready(function () {
if($('form.variations_form.cart').length > 0) {
$('form.variations_form.cart').each(function (){
let thisWrap = $(this).closest('.product-info.summary');
let oldPrice = $('.price-wrapper > .price', thisWrap).html();
let descBox = $('.product-short-description', thisWrap);
$(this).on('show_variation', function (e, variation) {
$('.devvn_variation_description', thisWrap).remove();
if(variation.price_html) $('.price-wrapper > .price', thisWrap).html(variation.price_html);
if(variation.variation_description) descBox.append(''+variation.variation_description+'
');
});
$(this).on('hide_variation', function (e) {
$('.price-wrapper > .price', thisWrap).html(oldPrice);
$('.devvn_variation_description', thisWrap).remove();
});
})
}
});
})(jQuery);