Jump to content

Order Form - Default Billing Cycle Adjust


xyzulu

Recommended Posts

FYI something like this does not work properly. It requires the customer to press continue twice before the package is added to their cart.

 

 

<select name="billingcycle" onchange="submit()" class="form-control select-inline">

{if $pricing.annually}<option value="annually"{if $billingcycle eq "annually"} selected="selected"{/if}>{$pricing.annually}</option>{/if}

{if $pricing.semiannually}<option value="semiannually">{$pricing.semiannually}</option>{/if}

{if $pricing.quarterly}<option value="quarterly">{$pricing.quarterly}</option>{/if}

{if $pricing.monthly}<option value="monthly">{$pricing.monthly}</option>{/if}

{if $pricing.biennially}<option value="biennially">{$pricing.biennially}</option>{/if}

{if $pricing.triennially}<option value="triennially">{$pricing.triennially}</option>{/if}

</select>

 

- - - Updated - - -

 

To configureproductdomain.tpl

 

I added... &billingcycle=annually

 

to..

 

<form method="post" action="{$smarty.server.PHP_SELF}?a=add&pid={$pid}&billingcycle=annually">

 

 

 

That appears to be working as expected now. Frustrating thing.

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