Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Random Products
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jjamess
Starting Member

USA
7 Posts

Posted - March 07 2004 :  22:37:21  Show Profile  Visit jjamess's Homepage  Reply with Quote
Having two issues I am having problems tracking down:

1. When setting a product to a price of 0, it shows the Call us on the product pages, but a price of $0 on the random product page. Anyway to fix this easily?

2. Products that are set to a even dollar amount, i.e. 245.00 instead of 244.99 won't show the extra two decimal places. It truncates the .00.

Thanks for any help you can give,
Jason

devshb
Senior Member

United Kingdom
1904 Posts

Posted - March 08 2004 :  03:01:51  Show Profile  Visit devshb's Homepage  Reply with Quote
i think both problems are due to the same thing; something's not using the shopformatcurrency function when printing the amounts.
if you manage to find which amount-printing bits are not using the shopformatcurrency function when printing them, then that'd solve both problems.

in tmp_frontpage.htm (the default template for random products), you need to make sure you use the following for the product price:
[formatcurrency cprice]

and your config option "xdecimalpoint" should be set to 2 to force 2 decimal places to be shown

hope that helps

Edited by - devshb on March 08 2004 03:07:18
Go to Top of Page

jjamess
Starting Member

USA
7 Posts

Posted - March 14 2004 :  15:28:32  Show Profile  Visit jjamess's Homepage  Reply with Quote
That solved both issues, thank you...

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00