Developer forum

Forum » Ecommerce - Standard features » Product custom input fields

Product custom input fields

Rune Skovbo
Reply

Hi

We have  a client who wants their customers to be able to supply som info to a product, before they add it to the cart.

It's a water jet thingy, where the costumer have to define the amount of preasure that needs to be handled, how much water will run through and more. When thats done, out client will the adjust the product as needed.

The dream is that the customer selects the products and then have 5 input fields (some free text, some as a select box), and that this data will the be written on the order.

 

Maybe this is where my dream of items on eCom comes to life? :-)

 

Any other clever way of doing this standard? Otherwise we could do some JS trickery.

 

Edit: We could use custom orderline fields, but that required the customer to be in "cart view" instead of "product view".

 

/Rune


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Rune

You can use custom orderline fields from the product when adding to the cart. Simply submit a field with the name "EcomOrderLineFieldInput_{SystemName}" when you submit the cartcmd=add as either a GET or POST.

You can even also combine this with Quotes - on the cart paragraph instance, you can check "Check out to quote" meaning that it will be a quote in the backend that the shop owner can alter and give a price, and in the frontend the user can log in, see the quote in Customer center, and accept the quote and do a checkout and pay.

BR Nicolai

Votes for this answer: 1
 
Rune Skovbo
Reply

Great!

Thanks Nicolai :-)

 

/Rune

 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi Nicolai,

Is this also possible in DW9?
I've tried to do so, but without any luck yet.

Best regards
Kurt Moskjaer Andersen

 
Nicolai Pedersen
Reply

Yes, same thing in DW9

 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Thanks, do you have any examples or documentation on this?

/Kurt

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Some links and examples in this thread:

http://doc.dynamicweb.com/forum/development/pass-custom-data-through-orderline-best-way?PID=1605&ShowLast=1

Votes for this answer: 1
 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Thank you, Nicolai :)

/Kurt

 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

An extra question: Is the product orderlines tied to the product or is it possible to have several product orderlines to a variant?

I have a situation, where I need to be able to add different product orderlines to different variants of the same product.

/Kurt

 

You must be logged in to post in the forum