How to add image upload in order form?

freeSbee

Hi zirzy

For logged in customers Bakery tries to retrieve their address data of a previous order to prepopulat the address fields.
http://www.bakery-shop.ch/#customer_address_form

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 

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

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

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

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