Post by web2step » Fri Apr 15, 2016 4:10 pm

Hi all!

I have problem - I can not find which file is responsible for to add a new comment to the order.
My order_history table have addition field 'spec1' and i want to write my special data to this filed when administrator of orders send new comment. But i cant find which file contains this action (writing new record in order_history table when send comment with order status).
I see: controller/sale/order.php, view\template\sale\[order_info,order_history].tpl, model\sale\order.php and can't finded this code. I see also controller/extension/openbay.php and can't understand he have this action or not...

Help me please, thanks!

Making Extensions for OpenCart
Auto-import, auto-update, auto-export products from any file formats and sites/stores
Quick Sound Order Notification

[EXTENSION:] Sound Notifications for new Orders

Goto: www.web2step.ru http://opencart-studio.ru

Making themes

От создания сайтов и интернет-магазинов до разработки модулей, скриптов и дизайна


User avatar
Newbie

Posts

Joined
Thu Jan 29, 2015 11:52 am


Post by oc-extensions » Sun Apr 17, 2016 7:54 am

Hi,

You forgot to specify which OpenCart version you use.

Image | Extensions and Custom Development


User avatar
Active Member

Posts

Joined
Fri Jan 06, 2012 11:31 pm

Post by grgr » Mon Apr 18, 2016 2:38 am

I'm guessing on version....

try looking at the History function in ../catalog/controller/api/order.php

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 1 guest