Post by CharmersVine99 » Thu Dec 31, 2015 10:08 am

Hello,

So I would like to display the cart on the checkout page.

I have embeded the catalog/view/theme/checkout/cart.tpl code
into the catalog/view/theme/checkout/checkout.tpl code where i want it to appear.

Then I copied the /catalog/language/checkout/cart variable to the /checkout

Then it still wasn't working, so I copied the /catalog/controller/checkout/cart.php code to /checkout.php in the following manner:

Code: Select all

<?php
class ControllerCheckoutCart extends Controller {
 [.......all the cart code......]

class ControllerCheckoutCheckout extends Controller {
 [.......all the checkout code that was there before......]
I still have errors (namely undefined varialbes like products, vouchers, etc)

Can someone please help me figure out how to put the cart page on the checkout page? (I still want an independent cart page)
Thanks


Posts

Joined
Sat Apr 04, 2015 1:50 am

Post by CharmersVine99 » Sun Jan 03, 2016 2:45 am

I know this probably isn't the most correct way to go about this, but I'm new to php.

Any suggestions?


Posts

Joined
Sat Apr 04, 2015 1:50 am
Who is online

Users browsing this forum: No registered users and 9 guests