X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Dynamic Shipping Address for checkout step3 (https://forum.x-cart.com/showthread.php?t=2604)

Alan 05-08-2003 01:53 AM

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.. :oops:

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!

shan 05-08-2003 03:49 AM

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


All times are GMT -8. The time now is 09:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.