| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Priced from? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#2
|
|||||||
|
|||||||
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
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#3
|
|||||||||
|
|||||||||
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
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Priced from?
XCart just got back in touch.
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. Quick response and solution, I "dips me lid" to Qualiteam. beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
#5
|
|||||||
|
|||||||
Re: Priced from?
Works in 4.0.19 as well.
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
#6
|
|||||||
|
|||||||
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}
__________________
Naoto =-=-=-=-=-=-=-=-=-=-=-=-=-= X-cart : 4.1.11 PHP : 4.4.9 Mysql server : 4.0.27-max-log Mysql client : 5.0.32 Web server : Apache (on Linux) |
|||||||
#7
|
|||||||
|
|||||||
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?
__________________
Newest Xcart Version 4.4 |
|||||||
#8
|
|||||||||
|
|||||||||
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
__________________
XCart 4.5.4, 4.6.1, 4.64 stores Many, many mods from Altered Cart XCart Mods Reboot template The XCart Store Templates and Mods WCM CDSEO Pro BCSE Rewards Points and Gallery Mods and a few others |
|||||||||
|
|||
X-Cart forums © 2001-2020
|