helldog2004 Posted November 24, 2016 Share Posted November 24, 2016 Hello everyone, currently I am showing the lowest attribute price possible on the product list template. But below the price I want to display the same lowest price without tax. Currently I have the following code displayed for products with attributes: <span class="price" style="font-weight: bold; color: #E74522; font: 600 21px/26px 'Open Sans', sans-serif;"> {if isset($product.qt_disc)} Vanaf: {convertPrice price=$product.price - $product.attribute_price} <br /> <span class="price product-price" style="color: #717171!important; font-size: 10px!important;"> {if !$priceDisplay}({convertPrice price=$product.price - $product.attribute_price} excl.btw){/if} </span> {/if} </span><br /> As you can see only when products have attributes the lowest attribute prices will be displayed and below this lowest price I have the same code but with the text "excl. btw", which should display without tax but don't know how. Please take a look at https://www.koppieshop.nl/93-kantoor-papier and see the product "Plano Superior 75 gram - A4 - 500 vel". The (€3,13 excl.btw) should look like (€2,59 excl.btw) Thanks for helping out. Link to comment Share on other sites More sharing options...
helldog2004 Posted November 25, 2016 Author Share Posted November 25, 2016 *Bump* Link to comment Share on other sites More sharing options...
helldog2004 Posted November 29, 2016 Author Share Posted November 29, 2016 Let me reiterate my question. I am displaying my lowest attribute price with the following: $product.price - $product.attribute_price Now I need to exclude 21% tax from this price and display it as something like $product.price - $product.attribute_price_exc_tax How can I make this work so it displays the price including and excluding on same list. Thanks for taking a look into it. 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