View Single Post
  #249  
Old 05-19-2012, 01:36 PM
 
jmccunep jmccunep is offline
 

Advanced Member
  
Join Date: Nov 2003
Posts: 68
 

Default Quick View in Ability Template on v4.4.5

The Quick View feature on my xcart v4.4.5 development site is showing a market price of 0.00 but I don't want to show the market/list price there if I have the market price set in the product backend to zero. The product details page doesn't show the market price when the product backend has that field set to empty/zero but the market price does still show, at zero, in Quick View.

It's seems clear that quick_view.tpl must be edited to alter this.

What is the best code change to correct this minor flaw, in a way that the market price will still show if it's not set at zero?

/ability/custom/addons/quick_view/quick_view.tpl

Below seems like the relevant bit of code to change from that template but how should it best be changed? Presumably the first smarty tag has to be altered. Can someone guide me on that?

{if $product.list_price}<div class='grid_6'><b>{$lng.lbl_market_price}:</b></div><div class='grid_6'>{$config.General.currency_symbol}{$ product.list_price}</div><div class='clearing'></div>{/if}
__________________
J McCune Porter | twinoakshammocks.com
X-Cart Gold version 4.7.11, unix server
X-Cart reBOOT Template by X-Cart Mods
Reply With Quote