Jump to content

How to display from SQL tblproducts -- recurringcycles column


mcmasters

Recommended Posts

Please Help..

Reccuring can be confusing -- the client does not see an end date in the cart.

 

If recurringcycles is greater then 0 then display "for XX Months"

 

Something like following...

{if $pricing.monthly} AND recurringcycles COLUMN is =0 THEN  THIS---><option value="monthly"{if $billingcycle eq "monthly"} selected="selected"{/if}>{$pricing.monthly}</option>{/if}

{if $pricing.monthly} AND recurringcycles COLUMN is >0 THEN  THIS---><option value="for  $recurringcycles month's "{if $billingcycle eq "monthly"} selected="selected"{/if}>{$pricing.Limit.monthly}</option>{/if}

 

Essentially just pull the reccurringcycle from the table and input the number into the <option value="for XX month's" if greater than zero.

 

Cheers,

McMasters

Edited by mcmasters
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