AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: Sam_78 on December 29, 2016, 10:38:03 AM
-
Hello folks,
I am going to use AbanteCart for a road show kind of thing where user will use my pc to order the stuff and I dont want them to go through 3 step checkout instead I want them to use my template.
The question here is where is the actual code for the order now functionality so that I can add the order to order table
Also need another functionality where I can email the invoice as soon as order is placed
I know this is a huge functionality but any help would be really appreciated
atleast if I can know which files(code) to change
-
You can check this model https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/model/checkout/order.php
It is called something like this:
$this->load->model('checkout/order')
$this->model_checkout_order->confirm( .... )
By the way, email with invoice IS already emailed after the order is placed.