Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Price from

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 11-26-2010, 10:33 AM
 
Spiceworld Spiceworld is offline
 

Advanced Member
  
Join Date: Nov 2009
Posts: 81
 

Default Re: Price from

Hi

Right i think the file you need is skin/YOUR SKIN/customer/main/products_t.tpl

Find following (Line 113 approx) (it may be slightly different as i have changed it and can't remember what it was before ):


Code:
{if $product.appearance.has_price} <div class="price-row"> <span class="price">{$lng.lbl_our_price}:</span> <span class="price-value">{include file="currency.tpl" value=$product.taxed_price}</span> <span class="market-price">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.taxed_price}</span> </div>

Change to:

Code:
{if $product.appearance.has_price} <div class="price-row"> <span class="price">{if $product.is_variants}{$lng.lbl_priced_from}:{else}{$lng.lbl_our_price}:{/if}</span> <span class="price-value">{include file="currency.tpl" value=$product.taxed_price}</span> <span class="market-price">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.taxed_price}</span> </div>


I didn't bother changing it in the product details as it didn't really make sense to, as when you pick a variant it is that price so doesn't need to say price from.

Let me know if that works and if not i will look into it further.

Cheers

Richard

PS: Note to the TEAM - this really should be already in the main distribution!!
__________________
4.6.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:04 PM.

   

 
X-Cart forums © 2001-2020