If this is your first visit, check our documentation. To post, register or login.

Changing the Checkout Process

Locked

Started by pdxdoug on 9 Mar 2009, 3:42 PM · Views: 2,337

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Mar 2009, 3:42 PM
#1
pdxdoug avatar

pdxdoug

Zen Follower

Join Date:
Jan 2008
Location:
Portland, Oregon USA
Posts:
356
Plugin Contributions:
0

Post #1 by pdxdoug

I hoping that I can change the checkout process somewhat.

We're a retail florist and an alarming number of customers either don't read or don't understand about the ship to address. I've changed the text on that page (checkout step 1 of 3) but that hasn't seemed to help - inevitably we need to contact customers to get correct recipient information

So this is the checkout flow that I like -

After the customer either logs in or sets up a new account, I'd like to take them straight to to the checkout_shipping_address page first so they can either enter the recipient or select from previously entered addresses, then resume the normal checkout process.

Is there a simple way to change the steps to accomplish this?

Thanks in advance!

Doug
https://www.broadwayfloral.com

Zen Cart v1.3.8a - Patched
Date Reminder Addon - modified
Checkout modified for delivery date/time/occasion/gift card message
(Both mods were done by a web design firm)

Doug

9 Mar 2009, 9:16 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Post #2 by bunyip

Yes, you can simply change the links for checkout (in the header and on the shopping cart page) to point directly to the checkout_shipping_address page by editing your tpl_header and tpl_shopping_cart_default files and changing

zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')
``` to 

zen_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL')


If someone clicks on the checkout link before they are logged in, they will go to log in or create an account, and the cart should redirect them automatically to the checkout_shipping_address page on completion.

Neville
An assumption is what you arrive at when you get tired of thinking...

9 Mar 2009, 11:26 PM
#3
pdxdoug avatar

pdxdoug

Zen Follower

Join Date:
Jan 2008
Location:
Portland, Oregon USA
Posts:
356
Plugin Contributions:
0

Post #3 by pdxdoug

Thanks for the reply.

So changing the code in the locations indicated will result in a checkout flow like this:

Customer hits checkout button
Customer goes to Account Creation/Login
Customer then taken to new shipping address screen with address book
Customer either enters new address or selects one from address book
Customer then taken to Checkout Step 1 and they Checkout normally, still being able to go back to the New Address screen

The files to change are includes/templates/template_default/common/tpl_header.php
and includes/templates/template_default/templates/tpl_checkout_shipping_default, correct?

Thanks,
Doug

Doug

10 Mar 2009, 1:25 AM
#4
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Post #4 by bunyip

pdxdoug:

Thanks for the reply.
The files to change are includes/templates/template_default/common/tpl_header.php
and includes/templates/template_default/templates/tpl_checkout_shipping_default, correct?

You need to make copies of those files and save them as includes/templates/YOUR_TEMPLATE/common/tpl_header.php and includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php
(note from my original reply that it should be the shopping_cart_default that you edit, not checkout_shipping_default)

Neville
An assumption is what you arrive at when you get tired of thinking...

10 Mar 2009, 9:31 PM
#5
pdxdoug avatar

pdxdoug

Zen Follower

Join Date:
Jan 2008
Location:
Portland, Oregon USA
Posts:
356
Plugin Contributions:
0

Post #5 by pdxdoug

Neville,

Thanks so much. It's just what I wanted. I changed the text on the new address page a bit and hopefully this will end confusion.

Thanks again,
Doug

Doug