WebsiteBaker Support (2.8.x) > Bakery Shop

How to add image upload in order form?

(1/2) > >>

zirzy:
Hi

Is there a way to add an extra field (image upload) to the bakery order form? And if yes, is it possible to add multible (1-5) image upload fields?

- zirzy

freeSbee:
Hi zirzy

You might want to add your upload fields near the customer message textarea. The path to the HTML template is:
/bakery/templates/pay_methods/title.htm

The posted customer message var $_POST['cust_msg'] is processed at about line 54 of the file:
/bakery/view_summary.php
Here is the place where you could handle and save the uploaded files or include a php script that takes care of it.

Hope this helps!
Christoph

zirzy:
Hi freeSbee,

And thanks for reply. Next question, is customer message included in e-Mail messages (for shop Owner and customer) after order? If Not, how can I do it?

zirzy

freeSbee:
Hi zirzy

Customize the template of all emails in the Bakery backend. Placeholders use squared brackets, e.g. [CUST_MSG]. A help page at "Payment Methods Settings" > "E-Mail Settings" > "Help" provides a list of keys to all placeholders.
http://www.bakery-shop.ch/#invoice_and_email_templates

Regards Christoph

zirzy:
Ok, that works fine. Thanks.

Why is information in order form (name, address etc.) copied/ shown on the other computers browser too? My friend tested this form on hes computer in different location and he saw my order info in order form.. Wierd.. Newer had this kind of thing on Bakery  :-D

zirzy 

Navigation

[0] Message Index

[#] Next page

Go to full version