Support for cart block?
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 northarm on June 11, 2026, 02:50I'm using kadence theme and the fox currency switch. The cart page uses the cart block and the checkout is classic. I am displaying dollars as either $10.00 USD or $10.00 CAD on product pages and checkout, but the cart page does not include the code suffix: it's just $10.00. If i switch to the classic cart, the prices are the way I want them, with the code suffix. Any idea what's going on here? I'm running latest woo and version 1.4.7 of Fox.
I'm using kadence theme and the fox currency switch. The cart page uses the cart block and the checkout is classic. I am displaying dollars as either $10.00 USD or $10.00 CAD on product pages and checkout, but the cart page does not include the code suffix: it's just $10.00. If i switch to the classic cart, the prices are the way I want them, with the code suffix. Any idea what's going on here? I'm running latest woo and version 1.4.7 of Fox.
Quote from Alex Dev on June 11, 2026, 13:11Hello
The Cart Block uses the WooCommerce Store API which bypasses standard price filters. There is no native FOX support for it at the moment, but as a workaround you can try adding custom code to your theme's functions.php that hooks into the Store API price formatting:
add_filter('woocommerce_store_api_product_price', 'my_woocs_cart_block_price', 10, 2); function my_woocs_cart_block_price($price, $product) { // get current WOOCS currency and append suffix manually global $WOOCS; if (!empty($WOOCS)) { $current = $WOOCS->current_currency; $currencies = $WOOCS->get_currencies(); if (isset($currencies[$current])) { $price .= ' ' . $current; } } return $price; }This is a starting point — it may need adjustments depending on how your theme renders the block prices. No guarantees it covers all edge cases, but it is worth trying.
Alternatively, switching to the classic cart shortcode [woocommerce_cart] remains the fully supported path.
Hello
The Cart Block uses the WooCommerce Store API which bypasses standard price filters. There is no native FOX support for it at the moment, but as a workaround you can try adding custom code to your theme's functions.php that hooks into the Store API price formatting:
add_filter('woocommerce_store_api_product_price', 'my_woocs_cart_block_price', 10, 2);
function my_woocs_cart_block_price($price, $product) {
// get current WOOCS currency and append suffix manually
global $WOOCS;
if (!empty($WOOCS)) {
$current = $WOOCS->current_currency;
$currencies = $WOOCS->get_currencies();
if (isset($currencies[$current])) {
$price .= ' ' . $current;
}
}
return $price;
}
This is a starting point — it may need adjustments depending on how your theme renders the block prices. No guarantees it covers all edge cases, but it is worth trying.
Alternatively, switching to the classic cart shortcode [woocommerce_cart] remains the fully supported path.
Quote from northarm on June 16, 2026, 20:29Thanks Alex. I tried your code snippet and as you suggested it might, it did not work. The cart still shows just $10.00 with no code. I am reluctant to return to the legacy cart as I'm trying to make the move to blocks and not have a Hodge Podge approach. Any further code suggestions would be appreciated. This is kadence theme. Thanks, John
Thanks Alex. I tried your code snippet and as you suggested it might, it did not work. The cart still shows just $10.00 with no code. I am reluctant to return to the legacy cart as I'm trying to make the move to blocks and not have a Hodge Podge approach. Any further code suggestions would be appreciated. This is kadence theme. Thanks, John
Quote from Ross on June 17, 2026, 20:34Hi John
Unfortunately, this goes beyond what we can debug on our end. The Cart Block rendering in Kadence theme is handled by the theme itself, and how it interacts with the Store API price output is something only the Kadence team can see from the inside.
We recommend reaching out to Kadence support and asking them specifically why the woocommerce_store_api_product_price filter does not affect price output in their Cart Block, and what the correct hook or extension point is for modifying prices there.
Hi John
Unfortunately, this goes beyond what we can debug on our end. The Cart Block rendering in Kadence theme is handled by the theme itself, and how it interacts with the Store API price output is something only the Kadence team can see from the inside.
We recommend reaching out to Kadence support and asking them specifically why the woocommerce_store_api_product_price filter does not affect price output in their Cart Block, and what the correct hook or extension point is for modifying prices there.
Quote from northarm on June 25, 2026, 00:20Thanks Ross. I did ask kadence support. Their response so far seems to be AI, and the gist of it was this remark:
Why This Happens
WooCommerce Cart and Checkout Blocks use the Store API and a separate React-based rendering system. As a result, many traditional WooCommerce PHP filters—and even some Store API filters such as
woocommerce_store_api_product_price—may not affect how prices are displayed inside Cart Blocks. WooCommerce instead provides dedicated Cart and Checkout Block extension points and filters for modifying price output.Because the currency code is already being added correctly on product pages and the legacy checkout, FOX's currency formatting is working in standard WooCommerce contexts. The issue is specifically that the Cart Block is rendering prices through its own block-based interface, which may not be using the same formatting hooks.
They also provided some links to resources and comments:
WooCommerce Cart & Checkout Block Filters:
https://developer.woocommerce.com/docs/block-development/extensible-blocks/cart-and-checkout-blocks/filters-in-cart-and-checkout/cart-line-items/WooCommerce Block Development Documentation:
https://developer.woocommerce.com/docs/block-development/Kadence WooCommerce Documentation:
https://www.kadencewp.com/help-center/docs/kadence-theme/woocommerce/From what you've described, Kadence is rendering the WooCommerce Cart Block as intended, while the missing currency code appears to be occurring within the WooCommerce Blocks price formatting layer. The most likely resolution will be either using the Classic Cart template or having the currency switcher integrate with WooCommerce's Cart Block-specific price formatting hooks.
I does seem to me that you guys should own this since it doesn't look theme specific or to be a woocommerce issue. I'm technical but not a php developer, so if you can't make it work, I'll have to try out other currency switchers.
Let me know what you think.
Thanks,
John
Thanks Ross. I did ask kadence support. Their response so far seems to be AI, and the gist of it was this remark:
Why This Happens
WooCommerce Cart and Checkout Blocks use the Store API and a separate React-based rendering system. As a result, many traditional WooCommerce PHP filters—and even some Store API filters such as woocommerce_store_api_product_price—may not affect how prices are displayed inside Cart Blocks. WooCommerce instead provides dedicated Cart and Checkout Block extension points and filters for modifying price output.
Because the currency code is already being added correctly on product pages and the legacy checkout, FOX's currency formatting is working in standard WooCommerce contexts. The issue is specifically that the Cart Block is rendering prices through its own block-based interface, which may not be using the same formatting hooks.
They also provided some links to resources and comments:
WooCommerce Cart & Checkout Block Filters:
https://developer.woocommerce.com/docs/block-development/extensible-blocks/cart-and-checkout-blocks/filters-in-cart-and-checkout/cart-line-items/
WooCommerce Block Development Documentation:
https://developer.woocommerce.com/docs/block-development/
Kadence WooCommerce Documentation:
https://www.kadencewp.com/help-center/docs/kadence-theme/woocommerce/
From what you've described, Kadence is rendering the WooCommerce Cart Block as intended, while the missing currency code appears to be occurring within the WooCommerce Blocks price formatting layer. The most likely resolution will be either using the Classic Cart template or having the currency switcher integrate with WooCommerce's Cart Block-specific price formatting hooks.
I does seem to me that you guys should own this since it doesn't look theme specific or to be a woocommerce issue. I'm technical but not a php developer, so if you can't make it work, I'll have to try out other currency switchers.
Let me know what you think.
Thanks,
John
Quote from Alex Dev on June 25, 2026, 11:32Hello John
Thank you for following up and for sharing what Kadence support found.
Cart and Checkout Blocks rendering is a fairly complex area, since the price formatting there works differently from the classic WooCommerce templates, and behavior can vary depending on the specific theme, builder, and other active plugins on a site. To properly investigate this on your setup, we would need the following (use private area of this ticket only):
- A staging clone of your site (most hosts offer a one-click staging feature, or you can use a plugin like Duplicator or WP Staging to create one)
- A short screen recording showing exactly how to reproduce the issue step by step, so we can see precisely what you are seeing
- WP Admin access to the staging site
- FTP or SFTP access to the staging site
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.pngOnce we have all of this, we will take a close look and put in some effort to try to confirm exactly what is happening here, and either find a way to address it or rule it out as something outside of what we can fix on our side. We cannot guarantee in advance that a fix will be possible, since it depends on what we find once we can actually reproduce it directly. If it turns out there is no viable path forward on our end, you may need to look at alternative solutions for your setup, and we would rather be upfront about that now than waste your time.
Please send the staging access and video (where issue is shown on the stage site) whenever you have them ready and we will get started.
Hello John
Thank you for following up and for sharing what Kadence support found.
Cart and Checkout Blocks rendering is a fairly complex area, since the price formatting there works differently from the classic WooCommerce templates, and behavior can vary depending on the specific theme, builder, and other active plugins on a site. To properly investigate this on your setup, we would need the following (use private area of this ticket only):
- A staging clone of your site (most hosts offer a one-click staging feature, or you can use a plugin like Duplicator or WP Staging to create one)
- A short screen recording showing exactly how to reproduce the issue step by step, so we can see precisely what you are seeing
- WP Admin access to the staging site
- FTP or SFTP access to the staging site
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png
Once we have all of this, we will take a close look and put in some effort to try to confirm exactly what is happening here, and either find a way to address it or rule it out as something outside of what we can fix on our side. We cannot guarantee in advance that a fix will be possible, since it depends on what we find once we can actually reproduce it directly. If it turns out there is no viable path forward on our end, you may need to look at alternative solutions for your setup, and we would rather be upfront about that now than waste your time.
Please send the staging access and video (where issue is shown on the stage site) whenever you have them ready and we will get started.
Quote from northarm on June 26, 2026, 02:23I appreciate your offer to investigate further, but it is not important enough for me right now to put the effort into a staging site, particularly as I don't have single click staging )i'm on lightsail). Instead, I have added the switcher widget to the cart and checkout pages to make it clear what the currency is even without the currency code on the cart page prices. I guess one day it may just start working. Anyway, thanks again for your prompt responses.
John
I appreciate your offer to investigate further, but it is not important enough for me right now to put the effort into a staging site, particularly as I don't have single click staging )i'm on lightsail). Instead, I have added the switcher widget to the cart and checkout pages to make it clear what the currency is even without the currency code on the cart page prices. I guess one day it may just start working. Anyway, thanks again for your prompt responses.
John
Quote from Alex Dev on June 26, 2026, 15:04Hello John
You are Welcome!
Hello John
You are Welcome!
