wirenine Posted August 24, 2019 Share Posted August 24, 2019 How to remove the "USD" on the order form summary? "Total Due Today: $20 USD Monthly" found the variable to be {$producttotals.pricing.baseprice} 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 24, 2019 Share Posted August 24, 2019 generally speaking, for any price formatter variable, to remove a suffix (e.g USD), you can just add ->toPrefixed() to the variable - so {$producttotals.pricing.baseprice} changes to {$producttotals.pricing.baseprice->toPrefixed()} in order summary, if you're going to do that to all pricing variables, then there will be a fair few to update. the other global way to do it, which will affect how pricing is showing throughout the site(including pricing tables, invoices etc, would be to remove the USD from the Currencies setup. 1 Quote Link to comment Share on other sites More sharing options...
wirenine Posted August 24, 2019 Author Share Posted August 24, 2019 Brian! Thank you so much for sharing that settings option, that's exactly what I was looking for. After searching through various posts, I found this variable to remove the currency suffix {$producttotals.pricing.baseprice|replace:$currency.suffix:""} however like your template editing suggestion, it would require a lot of code modification so editing the options works best 🙂 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.