Developer forum

Forum » Ecommerce - Standard features » Assign values to the product fields ( from product card)

Assign values to the product fields ( from product card)

Peter Bille Larsen
Reply
Hi DWs

Is it possible to assign a value to one of the product fields I have created.

ie.  a user typing in a name on the product card for a tag of name on the product:

 

"indtast navn på dørskilt":  [ .....       ]

or

 in the basket :
"Skal pakkes ind?" : [ ja    nej  X ]
 

And have that info follow the product all the way to the order confimation. how is that done in DynamicWeb ?

anyone have done something like that before?


thanks :-)
Peter


Replies

 
Merethe Nielsen
Reply

Hi

You can use Order line fields, which is custom product fields, that can save values to the order all the way through the ordering (from product list/detail to checkout). The field values are saved on the order in ecom when the order is completed.
http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Management-Center/eCommerce-settings/Orders/Order-line-fields/How-to-use-order-line-fields.aspx
This can be useful for your name field for the door sign.

You can use Order fields if you just want to add a custom field to the order. Order fields are only used in the cart for the order steps.
This can be useful for your "Gift wrap" question.
http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Management-Center/eCommerce-settings/Orders/Order-fields.aspx

I hope that this is what you looked for.

Merethe

 
Peter Bille Larsen
Reply
 Hi Merethe

Excellent! Then I can just make a javascript which auto-fills the hidden inputfield in the basket, with a fake checkbox.

thanks for the help :-)

//Peter

 

You must be logged in to post in the forum