Jump to content

Allow user to switch between montly and annual billing prices in html template


amolbrkr

Recommended Posts

Hi, I'm using the hostinza html template.

The pricing tables in this template have an option of switching between montly and yearly pricing. I want the users to go directly to cart with annual pricing selected. But there is no option of getting cart links with annual billing cycle selected?

How do I do this?

Thanks.

Link to comment
Share on other sites

On 22/07/2020 at 05:20, amolbrkr said:

The pricing tables in this template have an option of switching between monthly and yearly pricing. I want the users to go directly to cart with annual pricing selected. But there is no option of getting cart links with annual billing cycle selected?

my first thought would be that you should contact Hostinza's developers as they will likely have been asked about doing this previously.

section_07.jpg

On 22/07/2020 at 05:20, amolbrkr said:

How do I do this?

I suspect the JS is going to have to be tweaked to automatically change the Buy Now URL depending on the value of the monthly/yearly slider - if it was reloading the page, then that's a simple tweak, based on Moster's above example of just passing the billingcycle in the URL, but it's not reloading and therefore, it's going to be JavaScript.

also, being a WordPress theme and these elements being outside of WHMCS, it's possibly more a WordPress question.

Link to comment
Share on other sites

  • 2 weeks later...
On 7/24/2020 at 8:30 PM, brian! said:

my first thought would be that you should contact Hostinza's developers as they will likely have been asked about doing this previously.

section_07.jpg

I suspect the JS is going to have to be tweaked to automatically change the Buy Now URL depending on the value of the monthly/yearly slider - if it was reloading the page, then that's a simple tweak, based on Moster's above example of just passing the billingcycle in the URL, but it's not reloading and therefore, it's going to be JavaScript.

also, being a WordPress theme and these elements being outside of WHMCS, it's possibly more a WordPress question.

 

Yeah I got it, thanks man!

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