Forums / General Questions / Checkout Help

Checkout Help

Locked

Started by chappers on 23 May 2006, 8:13 AM · Views: 1,033

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 May 2006, 8:13 AM
#1
chappers avatar

chappers

New Zenner

Join Date:
May 2006
Posts:
2
Plugin Contributions:
0

Checkout Help

Sorry if i am posting this is the wrong section but i am unsure where to post it.

I'm trying to alter the checkout page (Step 1 of 3) but i can not find out where to change it.
What i am trying to do is change the link for "continue", currently it is at localhost/index.php?main_page=checkout_payment but i would like to change this link to localhost/index.php?main_page=checkout_payment_address.

There are a few other pages like this i need to change but if someone can point me in the right direction i'm sure i can do the rest myself.

Hope someone can help, thanks in advance.

23 May 2006, 8:34 AM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Checkout Help

As a rule, if you are looking to chage any page, there are two files which govern the page, and its code. You need to look at your url, which in your case is "index.php?main_page=checkout_shipping". This tells you that the current page is checkout_shipping. Now navigate to includes/templates/YOUR CURRENT TEMPLATE/templates/tpl_checkout_shipping.php .

If I'm not mistaken, the form on this page submits to itself, and if the data is correct then redirects you to the next page. This is handled in the header file for this page, found under includes/modules/pages/checkout_shipping/header.php .

In this file you will find a few redirects to FILENAME_CHECKOUT_PAYMENT. ENSURE YOU BACKUP THIS FILE, as there is no override system. Then change these links to where you want them to go.

Hope this helps

Absolute B)

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

23 May 2006, 8:44 AM
#3
chappers avatar

chappers

New Zenner

Join Date:
May 2006
Posts:
2
Plugin Contributions:
0

Re: Checkout Help

Cheers mate works like a charm.