Jump to content

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


fernandokerber

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?

Link to comment
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)
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...