Jump to content

Billing Cycle Options Not Showing In Store


Diesel

Recommended Posts

Hi all,

 

I would like to give my customers the option of paying quarterly, semi-annually or annually. I can set these prices per product in the Admin area, but when I look at the products in the store front end, it only shows the most frequent billing cycle (ie quarterly). Where and when does the customer see the billing cycle option? Surely this should be displayed on the store front, or am I missing a setting somewhere?

Link to comment
Share on other sites

HI,

 

as you have found, the cart usually only shows the shortest billing cycle that is priced (e.g monthly, quarterly etc)... the user will get to choose the billing cycle during the order process - usually at the product configuration stage.

 

however, it is possible to show multiple pricing at the front end, the variables are usually all present, but how you do it would depend on your orderform template used... e.g if you were using Standard_Cart, you could use code similar to the thread below to show all available pricing options...

 

https://forum.whmcs.com/showthread.php?126891-Billing-Cycle-Prices&p=508146#post508146

 

Pk3RsYN.png

 

... or with a comparison template, you could use a dropdown to trigger the cycle choice...

 

https://forum.whmcs.com/showthread.php?129443-Looking-to-hire-someone-for-those-2-changes&p=517554#post517554

 

gT5Mj5Y.png

 

so basically it can be done - it's just a case of using the most appropriate method for your template. :idea:

Link to comment
Share on other sites

perhaps by using a Language Override and creating a replacement string...

 

$_LANG['orderpaymenttermsemiannually'] = "6-monthly";

 

Thanks, I did try that earlier, but it causes something to break across the entire site. I get an Oops! error. So, I'm assuming my overrides english.php file will only have this code in it(?):

 

<?php

$_LANG['orderpaymenttermsemiannually'] = “6 Monthly“;

 

I'm not great with php, so if I am making a rookie error please be gentle...

 

This is what the error says:

 

Oops!

Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

Edited by Diesel
Link to comment
Share on other sites

Thanks, I did try that earlier, but it causes something to break across the entire site. I get an Oops! error. So, I'm assuming my overrides english.php file will only have this code in it(?):

<?php
$_LANG['orderpaymenttermsemiannually'] = “6 Monthly“;

I'm not great with php, so if I am making a rookie error please be gentle...

that should be all you need - though when I posted your code above into my overrides file, it didn't like your double quotes and throws up the error..

 

exception 'Whoops\Exception\ErrorException' with message 'syntax error, unexpected 'Monthly“'

 

if you can fix the quotes issue (perhaps type them in again), then it will work... :idea:

 

<?php
$_LANG['orderpaymenttermsemiannually'] = "6 Monthly";

 

wGK3jfV.png

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