Author |
Topic |
|
Kamin
Starting Member
USA
30 Posts |
Posted - March 13 2005 : 17:30:36
|
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 Next '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.
Thanks Kamin
|
|
shopcomputer
VP-CART New User
USA
57 Posts |
Posted - March 13 2005 : 19:09:37
|
The same problem exists with the VPASP minicart.
|
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - March 14 2005 : 03:46:17
|
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 Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
|
|
Kamin
Starting Member
USA
30 Posts |
Posted - March 14 2005 : 19:13:34
|
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.
|
|
|
|
Topic |
|