Jump to content

In what file can I alter the order creation query?


nephi_
 Share

Recommended Posts

open the classes/order/Order.php

 

you've got there function add();

 

remember that everything here is based on "Object" model, which mean that order specification is defined in the

public static $definition = array(); table

Share this post


Link to post
Share on other sites

this is function add():

 

public function add($autodate = true, $null_values = true)
{
 if (parent::add($autodate, $null_values))
  return SpecificPrice::deleteByIdCart($this->id_cart);
 return false;
}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More