nevresimdukkani Posted March 12, 2018 Share Posted March 12, 2018 (edited) Hi everyone, I am using V.1.7.3. on my website www.nevresimdukkani.com Could anyone please tell me what am I missing? I am trying to add a png on product page when shipping cost is free. I added this code to product-prices.tpl {if isset($product.additional_shipping_cost) && $product.additional_shipping_cost == 0} <img src="//www.nevresimdukkani.com/img/ucretsiz-kargo.png" style="position:absolute; top:42px; right:92px;" /> {/if} I can see my png on product page. it looks it is working. But !!! I have a shipping cost strategy which is free if total price is over 50.00 TL But I see this PNG on all pages even product price is lower then 50.00 TL. So do you have an idea how should I change this code or what should I do? p.c. carrier prices are edited as I wish. Thanks. Kahraman Edited March 13, 2018 by nevresimdukkani (see edit history) Link to comment Share on other sites More sharing options...
nevresimdukkani Posted March 13, 2018 Author Share Posted March 13, 2018 I found a solution. you can use similar code if you are using same carrier setting as me. {if isset($product.price_amount) && $product.price_amount >= 50} <img src="//www.mydomain.com/img/ucretsiz-kargo.png" style="position:absolute; top:42px; right:92px;" /> {/if} 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