seog Posted March 5, 2017 Share Posted March 5, 2017 Hi I am trying adding style to block cart div only when there are no products as follow: <div class="shopping_cart"{if $cart_qties == 0} style="box-shadow:none"{/if}> The issue is that it work only when I reload page, then understand that I should add this mod also in ajax-cart.js or blockcart-json.tpl I know this because I had to modify these files for make to work the truncate lenght in product name without wait to reload page Does anyone know where I should repeat the code {if $cart_qties == 0} style="box-shadow:none"{/if} in ajax-cart.js? Note: This mod don´t is possible to make in blockart.css because I added a box-shadow: 1px xxxx best regards 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