View Single Post
  #1  
Old 06-02-2006, 07:02 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default Adding a step to the checkout?

I'm trying my hardest to work this out for myself but I need a heads up as I can't see what code is telling the store which step of the checkout it is currently at.

A simple answer to this problem would be to have each step of the checkout on a seperate .tpl file. eg checkout1.tpl / checkout2.tpl / checkout3.tpl etc - is this at all possible?

This is what i'm trying to do...

Currently my checkout has 3 steps.

1. Choose payment method
2. Check cart total, Check Billing / shipping address / enter CC details and submit order.
3. Order confirmation or rejection

What I'm trying to do is have a 4 step checkout to make it very simple for the customer to see whats going on...

1. Check billing / shipping address
2. Choose payment method
3. Check cart total, enter CC details & submit order.
4. Order confirmation or rejection

Does anybody know the basic code for calling or not calling a tpl file?
Something like "If the checkout is at step '2' show this xxx.tpl else don't"

or alternatively how I would go about splitting the checkout over multiple .tpl's as mentioned at the top?
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote