Jump to content

Data feed hide currency in domain pricing


nabbello

Recommended Posts

as the feed is taking the currency formatting from how you've setup the currency in setup -> currencies, the quick way would be to remove EURO from the suffix and add your space to the prefix in the EUR currency setup.

if that's not an option. then I suspect you're looking at duplicating the data feed file (don't' edit the existing data feed as your changes will be removed after a WHMCS update), and modifying the output with string replaces to remove the EURO suffix...

technically, the prices are all using the PriceFormatter method, so adding ->toPrefixed() to the variables in the feed code would work, though you would likely need some checks to ensure that the pricing exists in each type for the current TLD before trying to modify it.

Link to comment
Share on other sites

2 hours ago, brian! said:

as the feed is taking the currency formatting from how you've setup the currency in setup -> currencies, the quick way would be to remove EURO from the suffix and add your space to the prefix in the EUR currency setup.

 

This exactly what i needed. Really thanks brian!

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