netgocios Posted March 8, 2017 Share Posted March 8, 2017 Hello, i have a free trial group products, and i want to hide some registration fields for customer that purchased those products.. its posible to have 2 checkout.tpl working? Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 8, 2017 Share Posted March 8, 2017 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.