Jump to content

Product addon pricing cycle issue


Recommended Posts

Hello,

I have activated product addon with monthly, yearly, biennial pricing. When a customer tries to order addon from "Services > View Available Addons (cart.php?gid=addons)" page, it shows only monthly pricing. And when click on "Order Now", it adds product to cart with 1 year term, and no option to update billing cycle (i.e. choosing monthly or biennial). How to fix this, so clients can choose billing cycle?

Note: selected active product is under one year recurring cycle.

Link to comment
Share on other sites

  • 2 weeks later...

@WHMCS ChrisD yes, both the product and add-on (in this case sitelock defend) has Monthly, Annually, Biennially and Triennially pricing setup and activated.

I did a bit more testing. It looks like add-on billing cycle only honors the billing cycle of active product. If the active product is activated with yearly cycle, add-on gets added to cart with only yearly term without any option to change cycle. And if active product is in monthly cycle, add-on gets added to cart with only monthly term without any option to change cycle.

Link to comment
Share on other sites

4 hours ago, sufi said:

So, this is not any error? This is how it works?

welcome to using WHMCS - you will get used to that astonishment eventually! 🙂

5 hours ago, sufi said:

I did a bit more testing. It looks like add-on billing cycle only honors the billing cycle of active product. If the active product is activated with yearly cycle, add-on gets added to cart with only yearly term without any option to change cycle. And if active product is in monthly cycle, add-on gets added to cart with only monthly term without any option to change cycle.

it doesn't necessarily honour the cycle of the active product, it will just show the product addon with it's lowest available billing cycle (e.g, monthly, quarterly, semi, annual, bi & tri in that order)... if you have a monthly product, but the addon is available at semi or annual, it will show the semi price... this occurs whether you are ordering an addon for an existing product, or ordering a product with addon from scratch.

the template is only passed that one minimum cycle price, so in order to get prices for other cycles, you'd need to get the pricing from the database - so that's not only a hook, but changes to the template would be required too if you intend to give the user a choice... though I can't recall anyone posting for this previously.

I can remember eyebrows being raised in the v7.2 beta forums a couple of years ago (when product addons were given increased functionality)... but by WHMCS' own definition, this isn't a bug as they've designed the feature to work like this... so it may be badly designed, but not a bug. 🙄

Link to comment
Share on other sites

7 hours ago, brian! said:

welcome to using WHMCS - you will get used to that astonishment eventually! 🙂

it doesn't necessarily honour the cycle of the active product, it will just show the product addon with it's lowest available billing cycle (e.g, monthly, quarterly, semi, annual, bi & tri in that order)... if you have a monthly product, but the addon is available at semi or annual, it will show the semi price... this occurs whether you are ordering an addon for an existing product, or ordering a product with addon from scratch.

the template is only passed that one minimum cycle price, so in order to get prices for other cycles, you'd need to get the pricing from the database - so that's not only a hook, but changes to the template would be required too if you intend to give the user a choice... though I can't recall anyone posting for this previously.

I can remember eyebrows being raised in the v7.2 beta forums a couple of years ago (when product addons were given increased functionality)... but by WHMCS' own definition, this isn't a bug as they've designed the feature to work like this... so it may be badly designed, but not a bug. 🙄

Thanks for the insight. Yes, it shows the lowest cycle price on available add-on page, and when taken to cart, it automatically coverts to the billing cycle of the active product without any option to change billing cycle. Though, it's not a major concern for me at this moment, as most of my clients don't bother about add-ons, and I am not offering much, it has some problem in the designing for sure. If an active product is in yearly cycle and has only 3-4 months left, why would someone purchase an add-on paying for whole one year! Instead, ability for choosing monthly cycle (if set from admin) would have been the right choice.

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