-
AuthorPosts
-
September 12, 2025 at 9:39 pm #244471
cyberhustleParticipantHi VillaTheme Team,
We are facing an issue when using CURCY – Multi Currency for WooCommerce together with the Staggs plugin for product variations.
Base currency: USD
Currencies used: USD and LKR
When products are added in USD, everything works fine.
When switching to LKR and adding a product, the cart takes the already converted LKR price as if it were USD, then CURCY converts it again → resulting in extremely inflated subtotals.
If Staggs is deactivated, CURCY works perfectly.Temporary workaround we tried (code snippet):
add_filter( ‘woocommerce_product_variation_get_price’, ‘fix_staggs_price_conflict’, 20, 2 );
add_filter( ‘woocommerce_product_variation_get_regular_price’, ‘fix_staggs_price_conflict’, 20, 2 );function fix_staggs_price_conflict( $price, $product ) {
if ( empty( $price ) && $product->get_parent_id() ) {
$parent = wc_get_product( $product->get_parent_id() );
if ( $parent ) {
$price = $parent->get_price(); // Force base USD
}
}
return $price;
}Could you please check if CURCY can be adjusted for compatibility with Staggs, so converted prices are not double-applied in the cart?
Thank you.
Attachments:
You must be logged in to view attached files. -
AuthorPosts
You must be logged in to see replies to this topic. Click here to login or register