to match your store's currency.\n */\nadd_filter( 'woocommerce_currency_symbol', 'scseed_custom_currency_symbol', 10, 2 );\nfunction scseed_custom_currency_symbol( $currency_symbol, $currency ) {\n if ( 'USD' === $currency ) {\n return 'US to match your store's currency.\n */\nadd_filter( 'woocommerce_currency_symbol', 'scseed_custom_currency_symbol', 10, 2 );\nfunction scseed_custom_currency_symbol( $currency_symbol, $currency ) {\n if ( 'USD' === $currency ) {\n return 'US
;\n }\n return $currency_symbol;\n}\n\n/**\n * Price format: %1$s = symbol, %2$s = amount.\n * Default '%1$s%2$s' → \"US$9.99\". Swap to '%2$s %1$s' → \"9.99 US$\".\n */\nadd_filter( 'woocommerce_price_format', 'scseed_price_format' );\nfunction scseed_price_format( $format ) {\n return '%1$s%2$s'; // adjust as needed\n}\n\n/** Decimal separator. */\nadd_filter( 'woocommerce_price_decimal_sep', 'scseed_price_decimal_sep' );\nfunction scseed_price_decimal_sep( $sep ) {\n return '.'; // change to ',' for European format\n}\n\n/** Thousands separator. */\nadd_filter( 'woocommerce_price_thousand_sep', 'scseed_price_thousand_sep' );\nfunction scseed_price_thousand_sep( $sep ) {\n return ','; // change to '.' or ' ' as needed\n}"}
;\n }\n return $currency_symbol;\n}\n\n/**\n * Price format: %1$s = symbol, %2$s = amount.\n * Default '%1$s%2$s' → \"US$9.99\". Swap to '%2$s %1$s' → \"9.99 US$\".\n */\nadd_filter( 'woocommerce_price_format', 'scseed_price_format' );\nfunction scseed_price_format( $format ) {\n return '%1$s%2$s'; // adjust as needed\n}\n\n/** Decimal separator. */\nadd_filter( 'woocommerce_price_decimal_sep', 'scseed_price_decimal_sep' );\nfunction scseed_price_decimal_sep( $sep ) {\n return '.'; // change to ',' for European format\n}\n\n/** Thousands separator. */\nadd_filter( 'woocommerce_price_thousand_sep', 'scseed_price_thousand_sep' );\nfunction scseed_price_thousand_sep( $sep ) {\n return ','; // change to '.' or ' ' as needed\n}","locked":false,"forkCount":0,"updatedAt":"2026-06-30T11:04:48.000Z"}} to match your store's currency.\n */\nadd_filter( 'woocommerce_currency_symbol', 'scseed_custom_currency_symbol', 10, 2 );\nfunction scseed_custom_currency_symbol( $currency_symbol, $currency ) {\n if ( 'USD' === $currency ) {\n return 'US
;\n }\n return $currency_symbol;\n}\n\n/**\n * Price format: %1$s = symbol, %2$s = amount.\n * Default '%1$s%2$s' → \"US$9.99\". Swap to '%2$s %1$s' → \"9.99 US$\".\n */\nadd_filter( 'woocommerce_price_format', 'scseed_price_format' );\nfunction scseed_price_format( $format ) {\n return '%1$s%2$s'; // adjust as needed\n}\n\n/** Decimal separator. */\nadd_filter( 'woocommerce_price_decimal_sep', 'scseed_price_decimal_sep' );\nfunction scseed_price_decimal_sep( $sep ) {\n return '.'; // change to ',' for European format\n}\n\n/** Thousands separator. */\nadd_filter( 'woocommerce_price_thousand_sep', 'scseed_price_thousand_sep' );\nfunction scseed_price_thousand_sep( $sep ) {\n return ','; // change to '.' or ' ' as needed\n}"}