View Single Post
  #1  
Old 09-24-2014, 07:15 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Post Duplicate price with custom skin modification

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.
__________________
Richard


Ultimate 5.4 testing
Reply With Quote