I get an error when I click on the 'Add to cart'-Button. I installed TC 1.4.1.0 and starter kit 1.2.0.2 on localhost umbraco 4.7.
Here the error:
<error><![CDATA[MESSAGE: Die Eingabezeichenfolge hat das falsche Format.
STACKTRACE: bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) bei System.String.System.IConvertible.ToInt32(IFormatProvider provider) bei System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) bei System.Convert.ChangeType(Object value, Type conversionType) bei TeaCommerce.Presentation.TeaCommerceBase.RequestModule.invokeMethod(restExtension myExtension, Object[] paras)
INNEREXCEPTION: ]]></error>
I don't change anything, I only added the country switzerland, a VAT and new Currency...
Looks like something wrong, maybe nothing is sent to the server by one of the methods. Please use firebug and look at the servercalls in the Console. You will be able to see exactly what is sent to the server and what call that fails.
Error after click 'Add to cart' on Productview
Hello
I get an error when I click on the 'Add to cart'-Button. I installed TC 1.4.1.0 and starter kit 1.2.0.2 on localhost umbraco 4.7.
Here the error:
<error><![CDATA[MESSAGE:
Die Eingabezeichenfolge hat das falsche Format.
STACKTRACE:
bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
bei System.String.System.IConvertible.ToInt32(IFormatProvider provider)
bei System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
bei System.Convert.ChangeType(Object value, Type conversionType)
bei TeaCommerce.Presentation.TeaCommerceBase.RequestModule.invokeMethod(restExtension myExtension, Object[] paras)
INNEREXCEPTION:
]]></error>
I don't change anything, I only added the country switzerland, a VAT and new Currency...
Hi Lookup,
Looks like something wrong, maybe nothing is sent to the server by one of the methods. Please use firebug and look at the servercalls in the Console. You will be able to see exactly what is sent to the server and what call that fails.
/Rune
Hi Rune, thanks for your help.
It tries to make a POST on
That is the node id that's missing.
If you're using a vanilla starterkit the node id is found by the javascript either on a variant select box or on the product div with class "product".
Something must have been changed either to the html or the javascript. Check both. The javascript is in the advanced js file around line 194
/Rune
is working on a reply...