View Single Post
  #1  
Old 10-03-2006, 09:01 PM
  CobaltCat's Avatar 
CobaltCat CobaltCat is offline
 

Senior Member
  
Join Date: Jul 2003
Location: Southern Orygun
Posts: 153
 

Default Delete price on products page.

My client wants to have the price gone from the thumbnails pages. I tried with this code in products.tbl:
Code:
{* {else} {if $active_modules.Subscriptions ne "" and ($products[product].catalogprice gt 0 or $products[product].sub_priceplan gt 0)} {include file="modules/Subscriptions/subscription_info_inlist.tpl"} {else} {if $products[product].taxed_price ne 0} {if $products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price} {math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%3.0f" assign=discount} {if $discount gt 0} <FONT class="MarketPrice">{$lng.lbl_market_price}: {include file="currency.tpl" value=$products[product].list_price} </FONT><BR> {/if} {/if} {if $active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""} <S> {/if} <FONT class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</FONT><FONT class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""}, {/if}{$lng.lbl_save_price} {$discount}%{/if}</FONT> {if $active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""} </S> {/if} {if $products[product].taxes} <BR> <TABLE border="0"> <TR> <TD><IMG src="{$ImagesDir}/spacer.gif" width="70" height="1" alt=""></TD> <TD>{include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}</TD> </TR> </TABLE> {/if} {if $active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""} {include file="modules/Special_Offers/customer/product_special_price.tpl" product=$products[product]} {/if} {else} <FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT> {/if} {/if} *}

The price goes away, but so does the buy now button. What can I do to bring the button back?

Thanks!

v 4.0.18
__________________
Thanks -
CobaltCat

I would love to change the world, but they won't give me the source code.
Reply With Quote