Jump to content

Community

AlexWebsites

Subscriptions Change $0.00 Value to FREE

Recommended Posts

Would be really good to be able to have the option to not show a numerical NO VALUE amount like $0.00 and replace that with a language string like the word "FREE". For instance, if I'm using products or subscriptions and offer a free membership, it just looks so much nicer if it says "FREE" or "NO CHARGE". 

Edited by AlexWebsites

Share this post


Link to post
Share on other sites
13 minutes ago, AndyF said:

I can see the value (no pun intended) in this however it might require a bit more processing time at a guess as its then got to replace a numerical value with a word value if value=0

let a=parseInt("YOUR SOUL");

consoleLog(a);

>666

Edited by socceronly

Share this post


Link to post
Share on other sites
16 minutes ago, asigno said:

@AlexWebsites It's not the ideal way of doing it, but there is an immediate solution in changing the text on page load by using GTM or Optimize.

I would prefer something built in to be able to replace {$package->priceBlurb()} in subscriptions if no value present. Maybe a language string.

			<div class='cNexusPrice ipsSpacer_both'>{$package->priceBlurb()}
            {{if \IPS\Member::loggedIn()->language()->checkKeyExists('nexus_tax_explain_val')}}
                <span class='cNexusPrice_tax ipsType_light'>{lang="nexus_tax_explain_val"}</span>
            {{endif}}
            </div>

 

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...