Jump to content

Cutomize checkout


netgocios

Recommended Posts

Hello, I have a free trial group products, and i want to hide some registration fields for customer that purchased those products.. its possible to have 2 checkout.tpl working?

assuming these fields aren't REQUIRED, then you have two obvious options...

 

1. modify checkout.tpl to hide these fields for the trials products - that's going to be an IF statement based on the $products array (product ID or product group ID) - though you'd have to work out the rules as to what happens if someone orders a trial product and a full product.

 

2. use 2 different templates - one for trials with modified checkout; another for the other products...

 

for the sake of simplicity, i'd probably suggest going with 1.

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