Post by gabba0000 » Fri May 28, 2021 6:38 pm

Opencart Version 3.0.3.2

What files / directories are involved with the insert into oc_order_product?

When an order is placed I am wanting to insert into a table at the same time / way that data is inserted into oc_order_product.

Newbie

Posts

Joined
Mon Nov 30, 2020 1:03 am

Post by ADD Creative » Fri May 28, 2021 6:46 pm

catalog/model/checkout/order.php

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by straightlight » Fri May 28, 2021 7:17 pm

gabba0000 wrote:
Fri May 28, 2021 6:38 pm
Opencart Version 3.0.3.2

What files / directories are involved with the insert into oc_order_product?

When an order is placed I am wanting to insert into a table at the same time / way that data is inserted into oc_order_product.
Use an event to accomplish this: https://github.com/opencart/opencart/wiki/Events-System

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gabba0000 » Fri May 28, 2021 9:08 pm

What would the order place trigger be?

Newbie

Posts

Joined
Mon Nov 30, 2020 1:03 am

Post by straightlight » Fri May 28, 2021 9:40 pm

gabba0000 wrote:
Fri May 28, 2021 9:08 pm
What would the order place trigger be?
The order trigger for the order history in this documentation above is written in details. Please follow it.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 125 guests