Variable Product Price Incorrectly Added to Cart
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from manjeetsire on October 29, 2026, 03:47Hello FOX WOOCS Support Team,
I am experiencing a pricing issue with variable products when using FOX WOOCS Currency Switcher.
The price of simple products is working correctly, but for variable products, the price added to the cart is incorrect when the currency is set to AUD.
I have checked the prices on the product page in AUD, but the price added to the cart does not match the displayed AUD price.
Variable Product:
https://punjabprintplus.com/product/printed-caps/Simple Product for Comparison:
https://punjabprintplus.com/product/epson-ecotank-l3210-a4-all-in-one-ink-tank-printer/Could you please check this issue and identify whether there is any error or compatibility problem with variable product pricing and FOX WOOCS?
Please check the currency conversion and cart pricing for the variable product and fix the issue.
Thank you for your support. I would appreciate it if you could help resolve this issue.
Hello FOX WOOCS Support Team,
I am experiencing a pricing issue with variable products when using FOX WOOCS Currency Switcher.
The price of simple products is working correctly, but for variable products, the price added to the cart is incorrect when the currency is set to AUD.
I have checked the prices on the product page in AUD, but the price added to the cart does not match the displayed AUD price.
Variable Product:
https://punjabprintplus.com/product/printed-caps/
Simple Product for Comparison:
https://punjabprintplus.com/product/epson-ecotank-l3210-a4-all-in-one-ink-tank-printer/
Could you please check this issue and identify whether there is any error or compatibility problem with variable product pricing and FOX WOOCS?
Please check the currency conversion and cart pricing for the variable product and fix the issue.
Thank you for your support. I would appreciate it if you could help resolve this issue.
Quote from Alex Dev on October 29, 2026, 22:51Hello
Thank you for the links, I checked both products on your site.
The "Printed Caps" product is actually a simple product, not a variable one. The colour choice (White, Red, Yellow...) comes from the YITH WooCommerce Product Add-Ons plugin. The Epson printer works because it has no YITH options, so the difference is not "variable vs simple" but "with YITH options vs without them".
Here is exactly what happens. On the product page the price is A$3.45, but after adding the cap to the cart it becomes A$0.06. When a product has YITH options selected, YITH recalculates the price of the cart item itself: it takes the product price, which FOX has already converted to AUD (A$3.45), adds the price of the options and saves this sum as the new item price. FOX treats every product price as a price in your base currency INR, so it converts this already converted amount once more: 3.45 x 0.018272 (your AUD rate including the 11% markup) = A$0.06. So the price is converted twice.
FOX has a compatibility code for YITH WooCommerce Product Add-Ons:
https://currency-switcher.com/yith-woocommerce-product-add-onsPlease add this code to the end of the functions.php file of your child theme (blocksy-child):
add_filter('yith_wapo_get_addon_price', function ($price, $do, $price_method, $price_type, $index) { if (class_exists('WOOCS') AND $price > 0 AND 'percentage' !== $price_type AND 'multiplied' !== $price_type) { global $WOOCS; $price = $WOOCS->woocs_exchange_value(floatval($price)); } return $price; }, 99, 5); add_filter('yith_wapo_get_addon_sale_price', function ($price, $do, $price_method, $price_type, $index) { if (class_exists('WOOCS') AND $price > 0 AND 'percentage' !== $price_type AND 'multiplied' !== $price_type) { global $WOOCS; $price = $WOOCS->woocs_exchange_value(floatval($price)); } return $price; }, 99, 5); add_filter('yith_wapo_total_item_price', function ($total_options_price) { if (class_exists('WOOCS') AND $total_options_price) { global $WOOCS; if ($WOOCS->is_multiple_allowed) { $currrent = $WOOCS->current_currency; if ($currrent != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $rate = $currencies[$currrent]['rate']; $total_options_price = $total_options_price / $rate; } } } return $total_options_price; });Then empty the cart, switch to AUD and add the cap to the cart again. The cart price should now match the product page.
For further support, please add your actual purchase key to the private section of this ticket:
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.pngBest regards,
Alex
Hello
Thank you for the links, I checked both products on your site.
The"Printed Caps" product is actually a simple product, not a variable one. The colour choice (White, Red, Yellow...) comes from the YITH WooCommerce Product Add-Ons plugin. The Epson printer works because it has no YITH options, so the difference is not"variable vs simple" but"with YITH options vs without them".
Here is exactly what happens. On the product page the price is A$3.45, but after adding the cap to the cart it becomes A$0.06. When a product has YITH options selected, YITH recalculates the price of the cart item itself: it takes the product price, which FOX has already converted to AUD (A$3.45), adds the price of the options and saves this sum as the new item price. FOX treats every product price as a price in your base currency INR, so it converts this already converted amount once more: 3.45 x 0.018272 (your AUD rate including the 11% markup) = A$0.06. So the price is converted twice.
FOX has a compatibility code for YITH WooCommerce Product Add-Ons:
https://currency-switcher.com/yith-woocommerce-product-add-ons
Please add this code to the end of the functions.php file of your child theme (blocksy-child):
add_filter('yith_wapo_get_addon_price', function ($price, $do, $price_method, $price_type, $index) {
if (class_exists('WOOCS') AND $price > 0 AND 'percentage' !== $price_type AND 'multiplied' !== $price_type) {
global $WOOCS;
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
return $price;
}, 99, 5);
add_filter('yith_wapo_get_addon_sale_price', function ($price, $do, $price_method, $price_type, $index) {
if (class_exists('WOOCS') AND $price > 0 AND 'percentage' !== $price_type AND 'multiplied' !== $price_type) {
global $WOOCS;
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
return $price;
}, 99, 5);
add_filter('yith_wapo_total_item_price', function ($total_options_price) {
if (class_exists('WOOCS') AND $total_options_price) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$total_options_price = $total_options_price / $rate;
}
}
}
return $total_options_price;
});Then empty the cart, switch to AUD and add the cap to the cart again. The cart price should now match the product page.
For further support, please add your actual purchase key to the private section of this ticket:
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png
Best regards,
Alex