We had this problem for a client:
He wanted to have several geographical regions the user can select in front end (Germany, USA, Rest of the World).
Then he wanted to have several warehouses for the stock. And then combine the 2 of them so he could create Warehouse 1 to have the stock for Germany and USA and warehouse 2 for the rest of the world.
We have created an module that uses Geo zones and language and some extra fields for stock in the product page. There is a lot of code modified and lots of core Views where we have added the features.
This was done in opencart 2.2 with vqmod. We want now to move all this to Opencart 3 and use event only modifications system.
Is not clear to us what to do if I need to add an extra tab for example in the product edit page, in between the existing tabs with the new functionality.
How is this part done without rewriting code and just injecting in the existing template the new code and functionality?
One of those Extensions could possibly be of help on this.
Ernie
---
Store Pickup Shipping (Multiple locations) for Opencart
https://www.opencart.com/index.php?rout ... on_id=2958
---
Pickup From Multiple Store 1.5 - 2.X
https://www.opencart.com/index.php?rout ... n_id=28431
---
found here:
https://www.opencart.com/index.php?rout ... rch=Pickup
Ernie
---
Store Pickup Shipping (Multiple locations) for Opencart
https://www.opencart.com/index.php?rout ... on_id=2958
---
Pickup From Multiple Store 1.5 - 2.X
https://www.opencart.com/index.php?rout ... n_id=28431
---
found here:
https://www.opencart.com/index.php?rout ... rch=Pickup
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
If you want use your own module, you need upgrade it to new version of OC. But if this in old version was done by changing core files, it is very dificult to upgrade to the newest version...
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
No, it was done using vqmod. My questions was if is possible to modify view using events in opencart 3 and not using an DOM parser library to do this.
With vqmod was easy to modify an existing admin view without rewriting code.
With vqmod was easy to modify an existing admin view without rewriting code.
"How is this part done without rewriting code and just injecting in the existing template the new code and functionality?" You can make this like in your old version using vqmod or ocmod. Or ask some developer for the help.
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
The ideea was if is possible to do it just using Events no ocmod or vqmod. I am the developer of the extension not need to ask for help to modify it. It was a discussion about if is possible to implement the modifications that in previous version were done with ocmod or vqmod, in OC 3 exclusively using Events?
Who is online
Users browsing this forum: Majestic-12 [Bot] and 15 guests