Developer forum

Forum » Development » the Ecom:Oreder.Comment tag

the Ecom:Oreder.Comment tag


Reply

Where can I set the Ecom:Order.Comment tag?

I have tryed setting it in all the steps in the cart but it doesn't set the value.

I would like to set this value in the product page when adding it to the cart.

Is that possible?


Replies

 
Reply

The Order Comment field can only be set in the eCom backend by selecting Orders from the eCom navigation tree.
(or if you use Import/Export you can set it in the import XML)
 

Try to use custom orderline fields instead.

 
Reply
ldedw wrote:

The Order Comment field can only be set in the eCom backend by selecting Orders from the eCom navigation tree.
(or if you use Import/Export you can set it in the import XML)
 

Try to use custom orderline fields instead.

I have added two custom order line fields.
 

How do I set the values of these in step2 of the cart?

 

 
Reply
paul wrote:

 

I have added two custom order line fields.
 

How do I set the values of these in step2 of the cart?

 

Order line fields are bound to a specific order line, and are meant to be set by the user of the shop, either when the product is put into the cart or at step 1 in the cart.
 

 

Some examples of order line field are:

 - A shop is selling T-shirts with custom text and the user inputs some text in an order line field.

 - A shop is selling windows in custom size and the user inputs height and width of the window in two order line fields.

 

 

However, you can use order fields, which are bound to an order. These can be set on step 2 of the cart either by user input or by a hidden field that can be controlled by javascript.

 

Hope this helps.

 

You must be logged in to post in the forum