I am attempting to hide the price, if the product is not available. This works as I upload the following file with this content;
"custom_skin/default/en/items_list/product/parts/common.product-price.tpl"
Code:
<widget
IF="product.isAvailable()"
class="\XLite\View\Price" product="{product}" displayOnlyPrice="true" />
I mentioned this worked, but this is until I perform a rebuild cache for some reason. After this time it will still hide the price for products not available, however it will display two prices in the thumbnails and product page. It could be some oversight I am missing. Please advise.