Jump to content

Removing "USD" from the shopping cart


wirenine

Recommended Posts

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.

EWSVrKj.png

Link to comment
Share on other sites

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 🙂

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated