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!
Specific need to pass information to order
-
- Phoca Newbie
- Posts: 9
- Joined: 12 Dec 2023, 16:09
-
- Phoca Professional
- Posts: 189
- Joined: 12 Feb 2015, 13:30
Re: Specific need to pass information to order
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...
-
- Phoca Newbie
- Posts: 9
- Joined: 12 Dec 2023, 16:09
Re: Specific need to pass information to order
Hey thanks I forgot to reply here I finished this post and then I did it exactly like you said 😂
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Specific need to pass information to order
OK, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project