Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Dynamic Shipping Address for checkout step3

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-08-2003, 01:53 AM
 
Alan Alan is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 83
 

Default Dynamic Shipping Address for checkout step3

Hi guys!

I can't really think of a better topic for this subject so I called it dynamic..

Anyhow for the final step in the checkout process, customers are given a choice to change the "ship to" field, or else they'd click modify button to do it.

I'd like to allow the customer to change all the shipping fields like the "ship to" field, but after I traced the cart.php > various other php/tpl files, I'm embarassed. Crying Uncle.

Might anyone hand me a clue on what php or template I should really look at? I'm pretty close, just need a little bit of hint.

Here's the initialization form for checkout.tpl
Code:
<form action="{$payment_data.payment_script_url}" method=post name=checkout_form>

UNCLE!
__________________
Best Regards!
Alan
Search is my friend
Reply With Quote
  #2  
Old 05-08-2003, 03:49 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you need to redirect them to the origional register.tpl.

One thing that you can do is make a copy of the register.tpl and make it look more like a shipping address page. (comment out all the other stuff)

If you just add the shipping fields to the final stage of the order page you may end up getting in correct shipping charges.

When the customer is on the final stage of ordering (where the ship to name is) the details get sent to the orders table. At other stages of the store the shipping details are worked out from the details in the customer table
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:26 PM.

   

 
X-Cart forums © 2001-2020