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
  #1  
Old 11-07-2010, 04:47 AM
 
Spiceworld Spiceworld is offline
 

Advanced Member
  
Join Date: Nov 2009
Posts: 81
 

Default Price from

Hi

Am looking for the code required for showing the "Our Price from" under variants.

Have found it while doing a search for every other version but can't get any working for 4.4.

Any help would be great.

Cheers

Richard
__________________
4.6.1
Reply With Quote
  #2  
Old 11-09-2010, 05:40 AM
 
Spiceworld Spiceworld is offline
 

Advanced Member
  
Join Date: Nov 2009
Posts: 81
 

Default Re: Price from

Anyone pppppppppppplease
__________________
4.6.1
Reply With Quote
  #3  
Old 11-09-2010, 12:15 PM
 
peddler peddler is offline
 

Senior Member
  
Join Date: May 2007
Posts: 140
 

Default Re: Price from

Alrighty then. Here's anyone reporting for duty!

I don't use variants, so I'll be less help than wet matches at a cookout, but I'll try.

I can't find anything that relates to "Our Price from". I searched the language variables; I even did a full search of all files in 4.1.8 and 4.4.1.

Maybe if you explained what you're looking for a little more, or maybe post a link or two where you, in your words, "found it while doing a search for every other version".

I'll check back later.
__________________
Ralph
X-Cart v4.4.2 Gold (still buggy, some are new ones)
PHP 5.2.13
Reply With Quote
  #4  
Old 11-09-2010, 11:04 PM
 
Spiceworld Spiceworld is offline
 

Advanced Member
  
Join Date: Nov 2009
Posts: 81
 

Default Re: Price from

Welcome back Anyone

The links that i am talking about is http://forum.x-cart.com/showthread.php?t=54969&highlight=amount+products

and

http://forum.x-cart.com/showthread.php?t=47645&highlight=our+price+from

but can't get either to work.

Cheers
__________________
4.6.1
Reply With Quote
  #5  
Old 11-10-2010, 12:05 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Price from

have yu found the template used to display the price section? I've heard that the 4.4 templates are very different from previous versions so I can't really help find it, have you used webmaster mode to find it?

then search through the template to find any reference to price, you may have to do this manually as it may be a language variable with who knows what name, but if you're in the right template it shouldn't be too bad,

then look at those previous posts to see what they changed,

hth
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #6  
Old 11-10-2010, 03:36 PM
 
peddler peddler is offline
 

Senior Member
  
Join Date: May 2007
Posts: 140
 

Default Re: Price from

The templates involved are product_details.tpl and products_list.tpl, but their location depends upon which template set you're using.

They are located in the customer/main folder of the template set, OR, one is located there and the other is located in the skin/common_files/customer/main folder. Clear as mud?

Warning! There's a product_details.tpl located in the skin/common_files/main folder and it is for the Admin side. You don't wanna mess with that one.

If'n you is looking for some detailed info on how to hack that code you found to work with the templates, I'm back to being an anyone and can't help ya. Sorry.
__________________
Ralph
X-Cart v4.4.2 Gold (still buggy, some are new ones)
PHP 5.2.13
Reply With Quote
  #7  
Old 11-10-2010, 10:54 PM
 
Spiceworld Spiceworld is offline
 

Advanced Member
  
Join Date: Nov 2009
Posts: 81
 

Default Re: Price from

Ok cheers for the replies.

I have tried changing those files with various different combinations but no luck yet.

I can put the following line in where it needs to go:

Code:
<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>

like this:

Code:
<div class="price-row{if $active_modules.Special_Offers ne "" and $product.use_special_price ne ""} special-price-row{/if}"> <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="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>


and that gives me the right look apart from it being on the left when the original is in the centre, but then i try and take out the same code that was doubled up in there but it wipes the whole page out so no product column is there at all.

I'll keep trying and will hopefully get there.

Cheers all
__________________
4.6.1
Reply With Quote
  #8  
Old 11-22-2010, 07:19 AM
 
chapel chapel is offline
 

Advanced Member
  
Join Date: Oct 2005
Posts: 51
 

Default Re: Price from

Did you get this working? I am looking for the same thing with no luck.
__________________
x-cart 4.4.3
Reply With Quote
  #9  
Old 11-22-2010, 10:57 AM
 
Spiceworld Spiceworld is offline
 

Advanced Member
  
Join Date: Nov 2009
Posts: 81
 

Default Re: Price from

Yes i did but i will have to look it up as i can't remember what i did now. Will get back as soon as i can look it up.
__________________
4.6.1
Reply With Quote
  #10  
Old 11-22-2010, 08:17 PM
 
chapel chapel is offline
 

Advanced Member
  
Join Date: Oct 2005
Posts: 51
 

Default Re: Price from

Thanks I look forward to it.
__________________
x-cart 4.4.3
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 12:16 AM.

   

 
X-Cart forums © 2001-2020