X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Price from (https://forum.x-cart.com/showthread.php?t=56441)

Spiceworld 11-26-2010 10:33 AM

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!!


All times are GMT -8. The time now is 12:59 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.