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

Priced from?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-10-2007, 05:33 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default 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
Reply With Quote
  #2  
Old 04-11-2007, 10:22 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default 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
Reply With Quote
  #3  
Old 04-11-2007, 08:21 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default 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
Reply With Quote
  #4  
Old 04-12-2007, 03:02 AM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default 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
Reply With Quote
  #5  
Old 08-22-2007, 02:11 AM
 
DaveB DaveB is offline
 

Senior Member
  
Join Date: May 2004
Location: UK
Posts: 121
 

Default Re: Priced from?

Works in 4.0.19 as well.
__________________
Xcart 4.0.19 Pro
mySQL 5.5.44
PHP 5.3.27
Reply With Quote
  #6  
Old 11-08-2007, 04:15 PM
 
Naoto Naoto is offline
 

Member
  
Join Date: Jan 2005
Posts: 13
 

Default 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)
Reply With Quote
  #7  
Old 02-17-2011, 08:51 AM
 
Hamco Hamco is offline
 

Member
  
Join Date: Jan 2011
Location: KCK
Posts: 16
 

Default 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
Reply With Quote
  #8  
Old 02-03-2014, 02:34 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default 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
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 02:29 AM.

   

 
X-Cart forums © 2001-2020