PDA

View Full Version : Default Payment Schedule or Balance



paniza
08-24-06, 11:45 AM
I have a hosting package that Im trying to force people to pay annually... it is too small for monthly so... if they pick monthly it is way more expensive.

So, I would like to have a way to leave annual as the default payment option... not monthly.

Way to I leave monthly then? Because monthly is good when you have some credits to give to the client... even if it is was not there, Quartly would appear first than annual.

Cheers,

Marcelo

chrishaley
08-24-06, 12:37 PM
You should just be able to leave "0.00" in the Montly, Quarterly, and Semi-Annual fields and just fill in a cost for the Annual field.

paniza
08-24-06, 02:21 PM
yep.

But I actually need to have Montly, Quarterly, and Semi-Annual on... with a different price.

GS-Richard
08-24-06, 04:07 PM
In the template file: order-stepthree.tpl


<select name="billingcycle" onChange="submit()">
{if $pricing.monthly}<option value="monthly"{if $billingcycle eq "monthly"} selected{/if}>{$pricing.monthly}</option>{/if}
{if $pricing.quarterly}<option value="quarterly"{if $billingcycle eq "quarterly"} selected{/if}>{$pricing.quarterly}</option>{/if}
{if $pricing.semiannually}<option value="semiannually"{if $billingcycle eq "semiannually"} selected{/if}>{$pricing.semiannually}</option>{/if}
{if $pricing.annually}<option value="annually"{if $billingcycle eq "annually"} selected{/if}>{$pricing.annually}</option>{/if}
</select>

Just change that around and your done.

paniza
08-24-06, 04:12 PM
it will not work 100% but because each product is different but it is surelly a good idea and a very nice start... I will work on it.

Thanks,

Marcelo
PS: Im no fan of customization because of the new versions... but this helps. :)

Adam
08-24-06, 04:15 PM
Hey,

From what I understand you are trying to make a plan with only an annual payment option.

To do this go to

whmcs/admin/configproducts.php or

Configuration > Products/Services

Then chose the product or servicve and hit the edit button on the right hand side. The up from the tab menu, chose Pricing. Enter in 0 for anything you want disabled...

From,
Adam

paniza
08-24-06, 04:45 PM
It is not... sorry.

It is using all but I want annually to come first... for plan A but monthly for plan B.

Thanks,

Marcelo

Adam
08-24-06, 05:24 PM
Hey,

Then you are going to need to cuztomize the template...

From,
Adam

paniza
08-24-06, 07:03 PM
yep. that will do for now... just have to pay attention when upgrading.

paniza
08-24-06, 08:05 PM
FYI

worked for now:
{if $product.pricing.annually}<option value="annually" {if $product.name eq "XXX"}selected{/if}>{$product.pricing.annually}</option>{/if}

Cheers,

Marcelo