hugoromor Posted March 6, 2017 Share Posted March 6, 2017 How can I have 2 different icons for the shopping cart to show, 1 when the cart is empty and the other when it has items? Link to comment Share on other sites More sharing options...
shokinro Posted March 7, 2017 Share Posted March 7, 2017 you can use code something like this below in your cart block theme file {if count($products) >0} <img src="...">{else}<img src="...."> {/if} Link to comment Share on other sites More sharing options...
hugoromor Posted March 8, 2017 Author Share Posted March 8, 2017 Where is this file exactly in prestashop 1.7? Link to comment Share on other sites More sharing options...
hugoromor Posted March 8, 2017 Author Share Posted March 8, 2017 Managed how to do it modifying theme.css and ps_shoppingcart.tpl, thanks! Link to comment Share on other sites More sharing options...
shokinro Posted March 9, 2017 Share Posted March 9, 2017 Glad you figured out and resolve the problem - thanks for your feedback. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now