Specific need to pass information to order

Phoca Cart - complex e-commerce extension
klimajan
Phoca Member
Phoca Member
Posts: 12
Joined: 12 Dec 2023, 16:09

Specific need to pass information to order

Post by klimajan »

Hello,

I would need a bit of a help here. Talking about product page. I needed a very custom product where you can pick a certain date. Its not important why but its simple - I have an input and a JS. When you click on input a small calendar appears, you pick a date and what I need is some way to pass this selected date to the final order... Now I am trying to figure out a way but I wanted to ask - is maybe phoca prepared for something like this? So that I would just pass it as a hidden input to add to cart form and then somehow pushed it to lets say note in order?

Please let me know if you can think of any way. Thank you!
mino182
Phoca Professional
Phoca Professional
Posts: 189
Joined: 12 Feb 2015, 13:30

Re: Specific need to pass information to order

Post by mino182 »

Create attribute (or option, everybody call it different) text field and fill it with your JS with choosen date... You can also hide that field with your css... Your date than will be next to the product everywhere - cart, order sumary, invoice...
klimajan
Phoca Member
Phoca Member
Posts: 12
Joined: 12 Dec 2023, 16:09

Re: Specific need to pass information to order

Post by klimajan »

Hey thanks I forgot to reply here I finished this post and then I did it exactly like you said 😂
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Specific need to pass information to order

Post by Jan »

OK, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply