Author Topic: tweaking the order now functionality  (Read 2807 times)

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
tweaking the order now functionality
« 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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: tweaking the order now functionality
« Reply #1 on: December 29, 2016, 11:06:02 PM »
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:
Code: [Select]
$this->load->model('checkout/order')
$this->model_checkout_order->confirm( .... )


By the way, email with invoice IS already emailed after the order is placed.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod