Jump to content

Removing "£0.00 GBP Setup Fee" from Addons


ehuk

Recommended Posts

Hi There,

 

I am trying to remove "£0.00 GBP Setup Fee" from the addons, this WHMCS setup will be for 1 subscription product with several Addons, and it is pointless to have a setup fee.

 

I can't seem to figure out how to get rid of Setup Fee without getting rid of the recurring fee, all I can see is:

 

(+{$addon.pricing})

 

Which encapsulates both the recurring fee and setup fee, is there a way to just remove the setup fee?

 

All the addons are the same price, so I guess I can just use text rather than gathering the price from the DB, but I would like to avoid this if possible.

 

Thanks,

Link to comment
Share on other sites

Try {$addon.pricing|regex_replace:"[\+ £0.00 GBP Setup Fee\]:""}

 

but check that this is the EXACT spelling of the output.

 

If need this to display on certain products or groups only, you can place this within an {if..}.something {else} something else{/if} statement

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