Forums / Templates, Stylesheets, Page Layout / Adding products to "Checkout_Payment"

Adding products to "Checkout_Payment"

Locked

Started by adamboyle on 9 Aug 2006, 5:49 PM · Views: 917

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Aug 2006, 5:49 PM
#1
adamboyle avatar

adamboyle

New Zenner

Join Date:
Nov 2005
Location:
Ipswich, UK
Posts:
18
Plugin Contributions:
0

Adding products to "Checkout_Payment"

Hello,

Im customising my checkout process and ive come up against a small problem, im sure its easy enough to sort out but im not sure how!

I would like to be able to add a list of the product the customer is buying onto the "checkout_payment" page. At the moment all that displays is the subtotal, shipping, total and grand total values. Is there a way to make the items appear similarly to how they do in the shopping cart? I cant find any configuration values in the admin centre to trigger it.

Cheers, Adam

Adam Boyle

10 Aug 2006, 7:48 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Adding products to "Checkout_Payment"

in your tpl_checkout_confirmation_default.php, line 115 starts with a table cell, and the table ends on line 161, with an HR on line 162. Copy all of that, lines 115 to 162 to
/includes/templates/yourtemplate/templates/tpl_checkout_payment_default.php (which is a copy of the template_default version of that file),
and paste it right above the <fieldset id="checkoutOrderTotals"> which is on line 48.

This will not show your out-of-stock notices properly, but will show the cart contents.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.