Search found 20 matches

Page 1 of 1

Search found 20 matches

Re: OCMod in 4.1

There are a number of known issues reported on the OpenCart github on this. If you really need an XML-based modification system then try VQmod . Be aware that OCmod and/or VQmod based extensions tend to be of poor quality by many developers, it's always better IMHO to implement proper event handler...

Jump to post
  • Thu Feb 20, 2025 8:27 pm
  • Replies 7
  • Views 1672
Re: OCMod in 4.1

Thanks for the code. After running your ocmod and doing some further investigation, this is what I observed 1. It works if mod is done on index() method. Any change done inside other functions (form,getlist etc) is not getting executed. You can see that 'BEFORE WORKS' and 'AFTER WORKS' are echoed on...

Jump to post
  • Thu Feb 20, 2025 5:18 pm
  • Replies 7
  • Views 1672
OCMod in 4.1

I have worked with OCMOD on versions prior to 4.0. Since OCMod is back in 4.1, I want to try it out. When I place my ocmod.xml file in <opencart root>/system folder and refresh the modifications, modified files get created under <opencart root>/extension/ocmod folder (In older versions it was under ...

Jump to post
  • Wed Feb 19, 2025 11:19 pm
  • Replies 7
  • Views 1672
Extension with multiple screens

Opencart 3.x insists placing the controller file of my extension under extension/module folder if I want to allow it to be installed using built-in extension installer. This is ok if my extension has only one controller file. The extension I am developing has one module settings screen and several o...

Jump to post
  • Fri May 15, 2020 4:57 pm
  • Replies 2
  • Views 208
Re: Distribute extension which uses one composer library

thekrotek wrote:
Sun May 03, 2020 11:05 pm
Of course, you need to add the library to the package.
Thanks. I can include the library to the package. But if I include composer.json file also in the package, it would overwrite the existing file. If I don't include composer.json, my library won't be visible. How do we manage this

Jump to post
  • Mon May 04, 2020 12:17 am
  • Replies 2
  • Views 3431
Distribute extension which uses one composer library

I am developing a new opencart extension which require a third party library and in my development environment I have downloaded this library using Composer. I have this library now in Vendor folder. My question is how do I distribute this extension to customer through marketplace along with this li...

Jump to post
  • Sun May 03, 2020 10:28 pm
  • Replies 2
  • Views 3431
Re: POI system for opencart 2.3 / 3.0

It will be difficult to find a PO system which fulfills all of our needs. Some kind of customization will be required if you need all features down to the last minor one. See the below extension if it will suit your needs

Complete Purchase Order Management and Dropshipping Solution

Jump to post
  • Wed Aug 16, 2017 10:59 pm
  • Replies 6
  • Views 1406
Re: HELP IMPORTING PRODUCT FEED

Have you tried below. A custom solution will be provided based on your feed format

https://www.opencart.com/index.php?rout ... n_id=10936

Jump to post
  • Mon Aug 14, 2017 4:23 pm
  • Replies 1
  • Views 512
Re: Controller not executing from storage\modification

It sounds like the OCMOD searches in one of your extensions aren't working anymore. It might be the bits of code they're searching for are being replaced by other extensions. That is not the case. I have only one OCMod extension and if it was not replacing, it should not have created any file in st...

Jump to post
  • Tue Jul 11, 2017 6:29 pm
  • Replies 2
  • Views 528
Controller not executing from storage\modification

I am using 2.3.0.2. My site was working fine until recently. Suddenly I noticed that few TPL files in admin started throwing 'Undefined variables' for the variables created by OCMod extensions. On close examination, I could see that the controller was not executed from system\storage\modification fo...

Jump to post
  • Tue Jul 11, 2017 5:31 pm
  • Replies 2
  • Views 528
Re: HTTP 500 ERROR

You may have controller\catalog\category.php file missing from the folder

Jump to post
  • Mon Jul 10, 2017 7:08 pm
  • Replies 2
  • Views 663
Re: how to set alt tag of product image as image file name

Using the value of src in alt will show the full path of image. If you need only filename use basename function. It will be something like

Code: Select all

src = "<?php echo basename($image); ?>"

Jump to post
  • Mon Jul 10, 2017 7:06 pm
  • Replies 2
  • Views 2079
Re: 3.0.x extension development issue- Permission Denied!!!

You can move your extension to extension/module/logger This way you don't need to add new directory to the array for permissions. Unfortunately my extension is not really a module to be accessed through Extensions > Module. It is more like an advanced log viewer accessed through System > Maintenanc...

Jump to post
  • Fri Jul 07, 2017 10:15 pm
  • Replies 7
  • Views 4639
Re: 3.0.x extension development issue- Permission Denied!!!

daniGo wrote:
Fri Jul 07, 2017 9:51 pm
Open admin/controller/startup/permission.php

and add extension/logger to the array
Why do we do that? We cannot ask the extension buyer to do the same. Certainly it must not be the way to develop extension for Opencart 3.x

Jump to post
  • Fri Jul 07, 2017 10:00 pm
  • Replies 7
  • Views 4639
3.0.x extension development issue- Permission Denied!!!

Opencart 3.x requires the extension files to be placed under 'extension' folder. My controller folder structure is as below admin |---controller |---extension |---logger |---logger.php When I navigate to url 'http://<domain>/admin/index.php?route=extension/logger/logger&user_token=xxxx', I am ge...

Jump to post
  • Fri Jul 07, 2017 9:45 pm
  • Replies 7
  • Views 4639
Re: Minimum price restriction for extensions?

Johnathan wrote:
Mon Apr 10, 2017 10:29 pm
Daniel should run a database query to update all extension prices that are between $10.00 and $19.99 to $20, to prevent this issue.
Exacty! That is what I had in my mind too. Hope Daniel listens to this

Jump to post
  • Tue Apr 11, 2017 7:03 pm
  • Replies 23
  • Views 7746
Re: Minimum price restriction for extensions?

I agree to the motive behind setting minimum price. But this should be applicable to all. Now I am forced to sell it for USD 20 because I have to release new version or just change the description. But the people who were already selling similar extension for less than 20 USD will gain the advantage...

Jump to post
  • Mon Apr 10, 2017 1:57 pm
  • Replies 23
  • Views 7746
Minimum price restriction for extensions?

I am an extension seller. I have an extension which costs 12 USD. I tried to upload new version of the extension in Opencart Marketplace, but it does not allow me and shows error message 'Price must be 20.00 USD or more!'. Never noticed this issue before Has Opencart stated imposing minimum price fo...

Jump to post
  • Sun Apr 09, 2017 9:09 pm
  • Replies 23
  • Views 7746

Page 1 of 1

Search found 20 matches