Search found 103 matches

Search found 103 matches

Validation of extension purchase

Hi there! Searched for a while and could not find - is there a way to validate the purchase by order ID and purchaser email. Is there any API on opencart.com for that? I am planning for a licensing system, but validating manually is not very good solution.

Jump to post
  • Wed Nov 18, 2020 11:13 am
  • Replies 1
  • Views 331
Re: Language Editor

Here is the fix if anyone needs it: Language Editor FIX

Jump to post
  • Fri Mar 13, 2020 3:24 pm
  • Replies 13
  • Views 5552
Re: Language Editor

I have this problem on 3.0.3.2 Changing the files to https://raw.githubusercontent.com/opencart/opencart/master/upload/admin/view/template/design/translation_form.twig https://raw.githubusercontent.com/opencart/opencart/master/upload/admin/view/template/design/translation_list.twig ruined the layout...

Jump to post
  • Thu Feb 06, 2020 3:23 pm
  • Replies 13
  • Views 5552
Re: ocmod regex not working

Isn't that dangerous? This assumes Microsoft style line ending, as used on Windows, whereas OpenCart is usually hosted on Linux servers which uses \n only for line endings. [\n\r] assumes \n or \r If I really will need to find line ending, I will use (\r\n|\n|\r), which should include any possible ...

Jump to post
  • Mon Dec 23, 2019 2:10 am
  • Replies 7
  • Views 1855
Re: ocmod regex not working

I found the cure!!! $ as search for end of line seems not working. Instead [\n\r] can be used. so the working code is <file path="catalog/view/theme/default/template/common/cart.twig"> <operation error="log" info=""> <search regex="true"><![CDATA[~({% for opti...

Jump to post
  • Sat Dec 21, 2019 11:00 pm
  • Replies 7
  • Views 1855
Re: ocmod regex not working

backslash escapes the dot. I have tried also without it - still the same. It must be something else, as i tried also just text in regex, like ~for option in product.option~ , it did not help Attaching the ocmod file, that seems perfectly valid, but is not working. What i need to achieve is insert so...

Jump to post
  • Sat Dec 21, 2019 8:26 pm
  • Replies 7
  • Views 1855
ocmod regex not working

Ocmod itself works. But my regex search is reported as not found. Modification not created. What am I missing? Opencart 3.0.3.2. <file path="catalog/view/theme/*/template/common/cart.twig"> <operation error="log" info=""> <search regex="true"><![CDATA[~{% for ...

Jump to post
  • Sat Dec 21, 2019 7:06 pm
  • Replies 7
  • Views 1855
Re: Image Manager - remember last folder?

I have been looking at all Image managers just because of this feature, but they do not support Journal 3, therefore would be great to have this feature in the default image manager

Jump to post
  • Thu Nov 14, 2019 8:47 pm
  • Replies 5
  • Views 3425
Re: Free download feature

I guess i found the answer. It is just that link is generated and i have to put it in product description manually. Good idea for the extension - free downloads tab if there is free download available.
Image

Jump to post
  • Fri Oct 13, 2017 5:52 pm
  • Replies 1
  • Views 487
Free download feature

There is radio button Free download when i add the download to the catalog. I made one free, but do not see how it affects frontend. There is no free donwload tab or anything where i can download the file. Anyone knows how is it supposed to work? http://pix.toile-libre.org/upload/original/1507887525...

Jump to post
  • Fri Oct 13, 2017 5:41 pm
  • Replies 1
  • Views 487
Re: OCMOD and VQMOD file Locations

I am running OC 3.0.1.2 and the system/storage/modification is empty despite the fact that at least one modification is installed and running. Is it just me or something is changed with oc 3.x? I found the reason - i forgot that after installing Opencart the system/storage directory was moved outsi...

Jump to post
  • Sat Oct 07, 2017 2:57 pm
  • Replies 18
  • Views 28975
Re: OCMOD and VQMOD file Locations

I am running OC 3.0.1.2 and the system/storage/modification is empty despite the fact that at least one modification is installed and running. Is it just me or something is changed with oc 3.x?

Jump to post
  • Fri Oct 06, 2017 11:42 am
  • Replies 18
  • Views 28975
Re: Can't make event work oc 2.3.0.2

I found what is wrong. Acording to this issue - if i am triggering frontend, then the action should also be on the frontend. That way creating file catalog/controller/extension/myext/cart.php with the following code <?php class ControllerExtensionMyextCart extends Controller { public function before...

Jump to post
  • Fri Sep 15, 2017 7:41 pm
  • Replies 3
  • Views 927
Re: Can't make event work oc 2.3.0.2

Hi, You must add some arguments to your action function, try this: public function beforeCartView($route = false, &$data = false){ $data['heading_title'] = 'New Heading Title'; } This will change the heading title. This is good point, but after adding paramenters i still do not get any result, ...

Jump to post
  • Thu Sep 14, 2017 8:12 pm
  • Replies 3
  • Views 927
Can't make event work oc 2.3.0.2

I'm stuck at this. Can't make event work. It installs ok, but does nothing. It should trigger on cart page load, shouldn't it? file: admin/controller/extension/myext/cart.php <?php class ControllerExtensionMyextCart extends Controller { public function install() { $this->load->model('extension/event...

Jump to post
  • Thu Sep 14, 2017 1:32 am
  • Replies 3
  • Views 927
Re: SEO Friendly URL's on information pages

here is extension for 2.3 (tested on 2.3.0.2)

Jump to post
  • Mon Aug 28, 2017 8:36 pm
  • Replies 31
  • Views 36643
Re: Triggering Event Opencart 2.3.0.2

Thanks a lot Dave, this worked!

Jump to post
  • Thu Jul 20, 2017 1:47 am
  • Replies 3
  • Views 2068
Re: Triggering Event Opencart 2.3.0.2

Just tested with trigger

Code: Select all

$trigger = "admin/controller/catalog/product/edit/before";
and it worked. But i want to have view admin/view/template/catalog/product_form as trigger

Jump to post
  • Wed Jul 19, 2017 11:26 pm
  • Replies 3
  • Views 2068

Search found 103 matches