Questions tagged [opencart-events]
22 questions
14
votes
3 answers
How can we use opencart events?
I have searched a lot about opencart triggers but didn't find a proper example. In opencart 2.0 there are triggers on which developer can hook function and perform something just like wordpress action and filters i guess. For example…

Adnan
- 579
- 1
- 4
- 11
2
votes
0 answers
Are Opencart events asynchronous? If not, Is there any way to implement asynchronous methods in Opencart?
I am using opencart 3.
I want event actions to run parallel and should not block the trigger.

Balkrushna
- 23
- 6
2
votes
1 answer
where is in journal3 (template for opencart) iframe? And how can I changing it?
I was look for .twig file or section in admin panel but didnt find nothing.
I want to change layout in this iframe.
OpenCart version 3 on the twig.
Thiss button for call iframe:

borgerry
- 33
- 3
2
votes
1 answer
Unable to trigger event(post.customer.login and post.customer.logout) in Opencart 3.0.2.0
I want to set the session after user login in opencart-3.0.2.0
I am new to opencart, I have just created this two files only in the corresponding folder.anything else I need to be done to trigger the event.
I am referring this link to trigger the…

prashanth padala
- 255
- 1
- 3
- 13
2
votes
2 answers
Opencart 2: Events not triggered
I'm using opencart version 2.1.0.1 and trying to use the new script notification system.
Please note that I have simply installed the original version. Nothing extra added or modified.
Following the tutorial found here:…

ion
- 1,033
- 2
- 16
- 46
1
vote
0 answers
How to trigger post to an external web api, immediately after successful payment in Opencart?
I have a bunch of web APIs created using ASP.Net MVC WebApi for any third-party integrations. Now we need to integrate with one of our partners who has got their platform on OpenCart. I don't know the exact version.
My requirement is to trigger my…

Amit Ranjan
- 11
- 1
1
vote
0 answers
issue with the header.twig file saving in theme editor
I am trying to add schema in header.twig, it is not saving, as soon as I leave the theme editor it goes disappears. how should I fix this? any help will be appreciated.

Aqib javed
- 33
- 4
1
vote
2 answers
handling Opencart-3 Events: AddCustomer EditCustomer
I am trying to handle events in Opencart-3 to move data to a local ERP system. I created an extension that contains all the events that I need to handle, My problem is that, only the events related to products are being triggered, but the others are…

Mhand7
- 527
- 1
- 3
- 21
1
vote
1 answer
Opencart Event system OC 3.0.2.0, override core controller and twig file?
Is it possible to use only the OC Event system for these overrides?
I need to override the core index function of the product controller. I want to edit the core file and add this line:
$data['quantity'] = $product_info['quantity'];
to the…

Bob
- 21
- 4
1
vote
1 answer
Opencart 3.0 - how to add in-line javascript code from catalog controller with event system?
How to add inline js code from controller ?
admin module controller
$this->model_setting_event
->addEvent("one_two_three","catalog/view/common/header/before","extension/module/oone_two_three/inject_abc_javascript");
and in catalog module…

rameez.hashmi
- 29
- 1
- 12
0
votes
0 answers
Add custom tab on opencart under order history
I want to add a new under Order history only if my custom module is activated. Can anyone suggest with the logic, how can i achieve it?

Xavier Issac
- 414
- 1
- 4
- 25
0
votes
1 answer
how to create opencart payment gateway module?
i am new for development bank given some details
Bank ID :
Merchant ID:
Merchant name:
Merchant username/Admin:
Password:
PG Inquiry & Refund Action URL (Production)
https://pgtest3.qcb.gov.qa/QPayOneWeb/EZConnectRequestServlet
PG Redirect Pay URL…
0
votes
0 answers
How to trigger events in opencast v4.x
Can anyone please share a tutorial to capture the product add/update and product add to cart and cart update events implementation in OpenCart V4.
I was using that events by implementing them in install.xml, but I am not getting any clue how to…

iqbal malik
- 222
- 3
- 12
0
votes
1 answer
Opencart 3.0.3.7 event not catch, not working
Note: I had read tons of information here and another sources, including official docs.
I have a payment extension - ex title simplepay.
I want to know specifically if it is a way to "listen" to a system (predefined) event.
I want to run some logic…

LucianDex
- 469
- 2
- 12
0
votes
1 answer
Opencart Event system and Redirect external link
I am new to the Opencart and MVC model, Opencart has an event system that helps to take some action or trigger before or after any function in Opencart like order confirm and order status update.
I want to trigger the external PHP script when the…

Sakthi Balaji
- 1
- 2