Jump to content

How to show "best seller module" when showing "Your shopping cart is empty" message?


fernandokerber
 Share

Recommended Posts

The title says everything..

 

How can I show the best sellers module when showing the message "How to show "best seller module" when showing "Your shopping cart is empty" ?

 

I noticed this message appears on /prestashop/order-opc.php

 

a Few moments ago I was trying to edit my address after generat an new order and I saw this message in a blank page

 

I thing this is a very usefull point to offer products. What about you?

Share this post


Link to post
Share on other sites

  • 11 months later...

i don't know if you are still looking for the tip a year, but it can be helpful to others.

 

In blockuserinfo.tpl (it's where the shopping cart shows on the header) just add this code right after id="shopping_cart"

 

{if $cart_qties > 0}

getPageLink($order_process, true)}" title="{l s='Your Shopping Cart' mod='blockuserinfo'}">

{else}

<a href="http://www.YOURLINK" title="{l s='Your Shopping Cart' mod='blockuserinfo'}">

{/if}

 

Instead of adding the module into the page you redirect the user to the page you want if the shopping is empty.

You can see it live at Stevia City .

Edited by 98dianast (see edit history)

Share this post


Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

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