Reply 318476 to: web slow…..Please help me, the site is very slow

Avatar: tiger
tiger
Participant
February 26, 2022 at 00:27

1- Hello why in the simple product at checkout a mistake in the payment
https://prnt.sc/d3JnF3TyL4YU
2- In the variable product there is no problem
https://prnt.sc/l6NozMePs16_

3- Also, when converting to Arabic in all products, there is an error. Payment is not made

4-When I exit, the PayPal button does not appear
https://prnt.sc/KlbQhGlm6veQ
https://prnt.sc/1jVuUvJf9qVX
Knowing that I pay him to pay in dollars only at checkout

add_filter(‘wcml_client_currency’, ‘custom_wcml_switch_currency’);
function custom_wcml_switch_currency($currency) {

if( is_checkout() ) {
global $woocommerce;

//CHANGE THE CURRENCY
$currency = ‘USD’;
$woocommerce->session->set(‘client_currency’, $currency);

return $currency;
}

return $currency;
}
////////////////////
The last time before I deleted the site and rebuilt it was showing up. It is an important matter. It is not possible to change currencies. I am forced to do this for the sake of customers, but I know that PayPal is not accepted in all currencies, so I forced him to checkout to pay in dollars.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.