Help with how Quick Cart works, order.php

rhcp18

Avatar: rhcp18

2011-03-26 15:46

I know the basis of quick cart and how it works, taking templates and themes and such. However, i am trying to create a new page where a user can submit an email enquiry. I have been successful as of far, putting a new box onto the order form and having it submit to enquiry.php in db, exactly the same way as 'comments' are posted and the orders are posted. However, i am now making a separate page to do this, and have so far set the page up with a submit button.
Firstly, order-form uses order-form.tpl and orders.php as a theme, but also uses order.php (core) to post the information. I am just confused as to how order.php (core) is linked to order-form.tpl, as i need to create a new php page such as enquiry.php to post the enquiry, like posting the order.
Any help would be great

» Quick.Cart v3.x

Makaron

Avatar: Makaron

2011-03-28 16:05

All files from core/ folder are linked with script in file index.php in main folder. After that You can use functions from these files. You should read these articles:
http://opensolution.org/Quick.Cart/docs_v3.x/?id=files_structure
http://opensolution.org/Quick.Cart/docs_v3.x/?id=actions
http://opensolution.org/Quick.Cart/docs_v3.x/?id=functions

Mak-Web.pl - Quick.Cart & Quick.Cms templates

Back to top
about us | contact