View Single Post
  #7  
Old 01-05-2015, 12:19 PM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 909
 

Default Re: Hide Price based on Mfgr

I tried this, but it doesnt display aything.. where am i going wrong??

Code:
{if $product.manufacturerid eq '2'} <td class="property-name product-price" valign="top">Add to Cart for Price</td> <td class="property-value" valign="top" colspan="2"> {if $product.taxed_price ne 0 or $variant_price_no_empty} <span class="product-market-price">{alter_currency value=$product.taxed_price tag_id="product_alt_price"}</span> {if $product.taxes} <br />{include file="customer/main/taxed_price.tpl" taxes=$product.taxes} {/if} {else] <td class="property-name product-price" valign="top">{$lng.lbl_our_price}:</td> <td class="property-value" valign="top" colspan="2"> {if $product.taxed_price ne 0 or $variant_price_no_empty} <span class="product-price-value">{currency value=$product.taxed_price tag_id="product_price"}</span> <span class="product-market-price">{alter_currency value=$product.taxed_price tag_id="product_alt_price"}</span> {if $product.taxes} <br />{include file="customer/main/taxed_price.tpl" taxes=$product.taxes} {/if} {else} <input type="text" size="7" name="price" /> {/if} </td>
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote