let's say I'm selling T-Shirts with a text print on. When putting the T-shirt in the basket, the buyer will have to enter some text (that will be printed on the T-shirt).
Can anybody point me in the right direction? how would I go about doing that with uCommerce?
Where you add custom data to an orderline, with the addtobasket function, so that when you add a product of a certain type to the basket, it will add the product (in a new orderline ofc.) to the basket. On of the add to basket helpers (can't remember the name) return the orderline id it was addeed to. This makes you able to add the custom property to the orderline.
Custom text added to a basket item ?
let's say I'm selling T-Shirts with a text print on. When putting the T-shirt in the basket, the buyer will have to enter some text (that will be printed on the T-shirt).
Can anybody point me in the right direction? how would I go about doing that with uCommerce?
Thanks in advance,
Steen
You can save custom properties on an orderline like this:
myOrderLine["t-shirt-text"] = "My Custom Text";
Ref: http://www.publicvoid.dk/DynamicOrderPropertiesAddingCustomInformationToBasketsOrdersAndOrderLines.aspx
You can combine this:
http://www.publicvoid.dk/DynamicOrderPropertiesAddingCustomInformationToBasketsOrdersAndOrderLines.aspx
Where you add custom data to an orderline, with the addtobasket function, so that when you add a product of a certain type to the basket, it will add the product (in a new orderline ofc.) to the basket. On of the add to basket helpers (can't remember the name) return the orderline id it was addeed to. This makes you able to add the custom property to the orderline.
Hope it makes sense :)
Thank you both, that was spot on! Too bad I can only mark one reply the answer!
is working on a reply...