Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Woo Currency Switcher and Kadence Virtue Premium image carousels not working

Home / Forums / Virtue Theme / Woo Currency Switcher and Kadence Virtue Premium image carousels not working

This topic is: Not a support question
[Not a support question]
Posted in: Virtue Theme
June 1, 2019 at 12:05 pm

I have Kadence Virtue Premium on my site, powderriverordnance.com which works very well for me. But, I’ve noticed that the Woocommerce Currency Switcher (WOOCS by realmag777) does not work in the Kadence image carousels (featured product, best sellers, sale, etc). products listed in these categories will not convert on the product page, carousel view, etc.

According to the WOOCS author realmag777, “Some themes implements their own functionality for quick view for woocommerce products. And in some cases it doesn’t work well with WOOCS. For example – flatsome theme uses ‘jck_quickview’ event to show this popup, and for first initialization it shows basic currency, but after manipulations with product attributes it shows right currency. So there is 2 ways to resolve it:”

find template where quick view popup generates and change code for price:

global $WOOCS;
$currencies = $WOOCS->get_currencies();
$price_num = $price_num * $currencies[$WOOCS->current_currency][‘rate’];
$price_num = number_format($price_num, 2, $WOOCS->decimal_sep, $WOOCS->thousands_sep);
$product_price.=$currencies[$WOOCS->current_currency][‘symbol’];

echo $product_price;

What Kadence file would I add this code to? Or is there a better solution?

  • The forum ‘Virtue Theme’ is closed to new topics and replies.