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)
-   -   Priced from? (https://forum.x-cart.com/showthread.php?t=30354)

beetlejuice 04-10-2007 05:33 PM

Priced from?
 
I need to be able to change the "Our price" text to "Priced from" or "Prices Start from" on any products that have options or variants.
I found an old thread that mentioned creating a new language label etc but it only refers to XCart 3.5. I tried it in 4.16 and it doesn't work.

Any clues

Thanks

beetlejuice

cotc2001 04-11-2007 10:22 AM

Re: Priced from?
 
Not the answer to your prayers but we did have x-cart team create that exact mod for justhom.com

If a product had different variant prices then the products.tpl would show the price as From: ёxx.xx

I havent got any products that are doing that at the moment so can't give you a demo link but it does do what you want and I don't think it was very expensive

beetlejuice 04-11-2007 08:21 PM

Re: Priced from?
 
Thanks cotc2001,

I've left a support ticket with XCart, I'll wait and see what they have to offer.
Surprised though that with all the XCarts out in the world, with many selling clothing etc which all have variables, that this is not a standard option within XCart itself.

beetlejuice

beetlejuice 04-12-2007 03:02 AM

Re: Priced from?
 
XCart just got back in touch.:D

This is all you need to do:

In products.tpl and products_t.tpl just change:

{$lng.lbl_our_price}:

to

{if $products[product].is_product_options}{$lng.lbl_priced_from}{else}{$ lng.lbl_our_price}{/if}:

and create a new language variable as lbl_priced_from and you're done.:D/

Quick response and solution, I "dips me lid" to Qualiteam.

beetlejuice

DaveB 08-22-2007 02:11 AM

Re: Priced from?
 
Works in 4.0.19 as well.

Naoto 11-08-2007 04:15 PM

Re: Priced from?
 
Hi beetlejuice.

Thank you for the information. It works with 4.1.7. But I had to take an extra space from your post :

from : "{$ lng.lbl_our_price}"
to : {$lng.lbl_our_price}

Hamco 02-17-2011 08:51 AM

Re: Priced from?
 
Anyone know if this would work if I didn't have product variants, but I just wanted to show the lowest price of a certain item because it has different price ranges.

For example

1 - 55$
2-5 - 50$
6-10 - 45$

etc. etc.

Is there a way to change the coding so that it will find my lowest price I have defined in wholesale pricing and show that?

beetlejuice 02-03-2014 02:34 PM

Re: Priced from?
 
Hi gang

many years ago this thread, but can anyone tell me how to make this work in 4.6.1?

{if $products[product].is_product_options}{$lng.lbl_priced_from}{else}{$ lng.lbl_our_price}{/if}:

doesn't do it and I'm not sure where to find which code is different in the new cart

Cheers


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

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