fernandokerber Posted August 11, 2012 Share Posted August 11, 2012 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 More sharing options...
Presta4All Posted July 28, 2013 Share Posted July 28, 2013 (edited) 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 July 28, 2013 by 98dianast (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2013 Share Posted July 28, 2013 hello thanks for your solution Im closing this thread because it is a bit old and question was not related to the prestashop 1.5 (but to 1.4). regards Link to comment Share on other sites More sharing options...
Recommended Posts