Peter_17 Posted 16 hours ago Share Posted 16 hours ago (edited) A simple way how to display net and gross prices on the product page and in the category: Theme classic Category page: /themes/classic/templates/catalog/_partials/minatures/product.tpl Product page: /themes/classic/templates/catalog/_partials/product-prices.tpl Replace: {if '' !== $smarty.capture.custom_price} {$smarty.capture.custom_price nofilter} {else} {$product.price} {/if} With: {if '' !== $smarty.capture.custom_price} {$smarty.capture.custom_price nofilter} {else} <p class="your-class">{Context::getContext()->getCurrentLocale()->formatPrice($product.price_tax_exc, $currency.iso_code)}<br /> <span class="your-class-2"> {l s='tax excl.' d='Shop.Theme.Catalog'}</span></p> {$product.price} {/if} Edited 16 hours ago by Peter_17 (see edit history) 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