chbani06
Forum Replies Created
-
this is the custom code:
add_action( ‘woocommerce_variable_add_to_cart’, ‘bbloomer_update_price_with_variation_price’ );
function bbloomer_update_price_with_variation_price() {
global $product;
$price = $product->get_price_html();
wc_enqueue_js( “
$(document).on(‘found_variation’, ‘form.cart’, function( event, variation ) {
if(variation.price_html) $(‘.elementor-widget-container > p.price’).html(variation.price_html);
$(‘.woocommerce-variation-price’).hide();
});
$(document).on(‘hide_variation’, ‘form.cart’, function( event, variation ) {
$(‘.elementor-widget-container > p.price’).html(‘” . $price . “‘);
});
” );
}Hello, thanks for the reply,
I will try to detail my problem.
I have an Arabic store and I use your plugin to customize the checkout field,
in first_name label I put the Arabic string as label (see scrn in links) like phone_label but it always shows in English
some informations:
theme install: hello elemetor
plugins istall: elementor ,elementor pro..
Locale Override Settings is all active
https://prnt.sc/sDtmPH7-FZCy
https://prnt.sc/MLZz7pvQhkAL
https://prnt.sc/6pC2WF0-1sXc
https://prnt.sc/2Uyc5sos3nb5please help me asap