Jump to content
Sign in to follow this  
erwanpia

[Hack] display shopping cart content on all order pages

Recommended Posts

Hi, my customer said to me why is the shopping cart not displayed when the user is going to pay ? Although the sopping cart is displayed on the right side all the time, I put up this little hack to display the shopping cart content below actions in all order pages. Simple and efficient how to :

 

1. in your template directory : create the includes folder and place  a new shopping-cart.tpl file with some code from the original shopping-cart.tpl (attached below)

2. in order.php, modify display  functions to assign smarty cart variables

3. include shopping-cart.tpl in

- shopping-cart.tpl (replace)

- order-adresse.tpl

- order-carrier.tpl

 

files modified in the attachment (be careful I also added a hack in order.php that hides free carriers, at line 310)

 

can you guys let me know if that works for you on RC3 and if that hack creates bugs ?

 

thanks

 

E.

order-hack-display-cart.zip

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More