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

Display Product Price

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-20-2003, 08:28 AM
  anoack's Avatar 
anoack anoack is offline
 

Senior Member
  
Join Date: Dec 2002
Location: Austin, TX
Posts: 113
 

Default Display Product Price

I have several custom templates. In a few of them I need them to list the pricing of other products.

For example: On one page I have a product and the price next to it. In that template if I change the price of that product I will manutally have to update the price on the template.
Is there something that I can add in there to automactically call up the price for that product.
I tryed this
Code:
{include file="currency.tpl" value=$products[16320].price}

But it did not work.
16320 Being the product # price im trying to display.
Reply With Quote
  #2  
Old 05-21-2003, 10:00 AM
  anoack's Avatar 
anoack anoack is offline
 

Senior Member
  
Join Date: Dec 2002
Location: Austin, TX
Posts: 113
 

Default

Anyone?
Reply With Quote
  #3  
Old 05-23-2003, 10:13 AM
  anoack's Avatar 
anoack anoack is offline
 

Senior Member
  
Join Date: Dec 2002
Location: Austin, TX
Posts: 113
 

Default

There has to be a way to do this. I am just not doing it right.
Is there something I would have to do with PHP TO call up the price? or do something with smarty?
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 03:16 AM.

   

 
X-Cart forums © 2001-2020