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-Cart StoreFront Customer Forum

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

 All Forums
 VPCart Forum
 General help me questions
 EcartStudio Mini Cart Problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

30 Posts

Posted - March 13 2005 :  17:30:36  Show Profile  Visit Kamin's Homepage  Reply with Quote
This isn't the place for this, but I haven't recieved a response from ecartstudio.com to a problem I am having. They have a small mini cart which is a great feature that I like a lot. But I found a bug in it. If xprice0 has text entered into the field the "Total" field in the mini cart displays the xprice0 text. For example if you put "Please call or email for pricing" in the xprice0 field, that text is displayed in the mini cart until I product is added to the basket. Here is the code they use

Dim sTotal,iTemp,iQtyTotal
Dim arrCartTemp
Dim QuantityTemp

iQtyTotal = 0
arrCartTemp = GetSessA("CartArray")
For iTemp = 1 to GetSess("CartCount")
QuantityTemp =arrCartTemp(cQuantity,iTemp)
sTotal = sTotal + QuantityTemp * cDbl("0" & arrCartTemp(cUnitPrice,iTemp))
iQtyTotal = iQtyTotal + QuantityTemp
'sTotal = formatcurrency(sTotal,2)
sTotal = shopformatcurrency(sTotal,2)

I am hoping someone else who purchased one of thier templates has run into this problem and has found a fix for it.


VP-ASP New User

57 Posts

Posted - March 13 2005 :  19:09:37  Show Profile  Visit shopcomputer's Homepage  Reply with Quote
The same problem exists with the VPASP minicart.

Go to Top of Page

Senior Member

United Kingdom
1898 Posts

Posted - March 14 2005 :  03:46:17  Show Profile  Visit devshb's Homepage  Reply with Quote
I think this is probably deliberate; if part of the order is an unknown cost then the whole order cost is therefore also unknown and could in theory be absolutely anything, therefore it makes sense to display the unknown label on the total as well as on the relevant items, otherwise it'd mislead the buyer.

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons
Go to Top of Page

Starting Member

30 Posts

Posted - March 14 2005 :  19:13:34  Show Profile  Visit Kamin's Homepage  Reply with Quote
The good folks over at ecartstudio have informed me of a simple fix. By removing the ' from
'sTotal = formatcurrency(sTotal,2)

and putting it on the
'sTotal = shopformatcurrency(sTotal,2)

It fix's the problem. Thanks for the replies and anyone else using an ecart template, this should help.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000