[support] How can I get the ubercart "add to cart" link to save so that it saves a string to an attribute instead of an array (which has 1 element containing the string) to the attribute?

John Mitchell mitchelljj98 at gmail.com
Wed Oct 13 14:51:24 UTC 2010


I am having differences when I add an item to an ubercart shopping
cart when I click the "add to cart" button within the product screen
and when directly clicking the "add to cart" link
(i.e. https://mydomain/cart/add/p107_a4o1234)

If I click the add to cart button within the product screen then it
assigns the string 1234 to attribute 4 but if I directly click the
"add to cart" link
(i.e. https://mydomain/cart/add/p107_a4o1234) then it assigns an array
which has 1 element containing the 1234 string.

How can I get the ubercart "add to cart" link to save so that it saves
a string to an attribute instead of an array (which has 1 element
containing the string) to the attribute?

Thanks,

John

-- 
John J. Mitchell


More information about the support mailing list