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

List Market Price on Product Detail Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 09-14-2006, 07:21 PM
 
tunnelvisionmusic tunnelvisionmusic is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 30
 

Default Re: List Market Price on Product Detail Page

I am using 4.1 and can't find the above code anyone one know where to look?
__________________
Joseph Lema
CEO/TunnelVision Music.com

X-Cart Version 4.1.6
Add-ons
Firetank Feed Manager Pro
FireTank Featured Product Manager
Firetank X-cart Site Map (advanced sitemap)
Firetank X-cart Ebay add on module
BCSC Preorder Backorder mod for X-cart
Saftey Net Dynamic Search-Engine-Friendly URLs PRO
Reply With Quote
  #12  
Old 09-15-2006, 06:02 AM
 
mrkenzie mrkenzie is offline
 

Senior Member
  
Join Date: May 2006
Posts: 182
 

Default Re: List Market Price on Product Detail Page

It is in the skin1/customer/main/product.tpl file where you add the code.
__________________
Mike Kenzie
X Cart Gold Ver. 4.1.3
X-RMA
X-AOM
X-Product Comparison
Reply With Quote
  #13  
Old 11-25-2006, 06:50 AM
 
mssmit mssmit is offline
 

Member
  
Join Date: Sep 2006
Posts: 22
 

Default Re: List Market Price on Product Detail Page

Quote:
Originally Posted by abeight
I used this code on my product.tpl file, but the problem that I ran into is that it always displays the market price even if the product isn't on sale. How would you make it appear only if the product is listed with a sale price?

change this

{if $product.list_price gt 0}

into

{if $product.list_price gt $product.taxed_price}
__________________
Regards
Martijn

X-cart 4.1.8(win)
Reply With Quote
  #14  
Old 12-31-2006, 05:16 PM
 
BMC Performance BMC Performance is offline
 

Member
  
Join Date: Nov 2006
Posts: 19
 

Default Re: List Market Price on Product Detail Page

Awesome, thank you so much!!
__________________
BMC Performance, Inc.
Version: 4.1.3
Reply With Quote
  #15  
Old 01-01-2007, 02:08 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: List Market Price on Product Detail Page

Quote:
Originally Posted by bixnet
I added following lines on product.tpl:


<tr><td width="30%>

Bill Shu

Just in case anybody else hasn't noticed it, there is a speech mark missing from the above, after the 30%, it should be

<tr><td width="30%">

Could I also ask, what does the <S> tag do? I couldn't find anything about it on Google.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #16  
Old 01-01-2007, 02:20 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: List Market Price on Product Detail Page

Does anybody know how to remove the strikethrough? And also does anybody know how to change the price from dollars to pounds? (I'm in the U.K.)
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #17  
Old 01-14-2007, 01:13 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: List Market Price on Product Detail Page

I contacted Qualiteam to find out how to fix this problem, so in case anybody else has got this far, the <S> tag is the strikethrough, and to show pounds instead of dollars, use:

{if $product.list_price gt $product.taxed_price}
<tr><td width="60" nowrap="nowrap">
{$lng.lbl_market_price}: </td><td>
&pound;{$product.list_price}
</td></tr> {/if}


lbl_market_price in this case is "R.R.P."

&pound; replaces the dollar sign
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #18  
Old 01-27-2007, 02:00 PM
 
leagcyteam2 leagcyteam2 is offline
 

Member
  
Join Date: Aug 2005
Posts: 25
 

Default Re: List Market Price on Product Detail Page

I have a CSS Skin and I cannot find the text before which I am supposed to insert the MOD.

I have just added the MOD to a random spot in the file but it did not work.

Please advise...thanks!
__________________
4.1.9
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 08:46 AM.

   

 
X-Cart forums © 2001-2020