VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 6.5 Mini Cart Display
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

14 Posts

Posted - March 18 2009 :  02:20:17  Show Profile  Reply with Quote
Hi all, this should be an easy one but I'm stumped! In VPASP 6.5 when the cart is empty the minicart displays 'Sorry, currently unavailable' instead of a dollar value. How can I change it to simply show $0 amoint?

I have searched both code and language for 'Sorry, currently unavailable' with no joy!

Its only the <%=navigateproductTotal()%> routine hat produces this result.

Cheers... D

Edited by - dax on March 18 2009 03:41:41

Senior Member

United Kingdom
1898 Posts

Posted - March 18 2009 :  04:04:51  Show Profile  Visit devshb's Homepage  Reply with Quote
It'll be your "xprice0" config option I think; that's what it displays when prices are zero. If that config option is blank then it'll show a zero instead of that text value. But that might be set for a reason (ie for products which have zero prices, or shipping which is unavailable for the customer).

If you need to keep the xprice0 option set (eg for unknown shipping costs) then you'd need to change the minicart function (in the shopproductsubs.asp file) to either not show the amount when it's zero, or to call a new/separate function which displays an "ignore xprice0 and always show amount" value, or to hard-code it to "$0.00" when it's zero.

If you don't need to keep the xprice0 option set then you could just blank out that config value.

Having said that, as to why it's displaying the string in one zero instance but not in another, that's something I can't see how/why it'd happen as they all call the same shopformatcurrency function.

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on March 18 2009 04:19:54
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000