Search found 101 matches

Search found 101 matches

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 3368
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 3368
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 374
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 option in product\.option %})(.*[\r\n])~]]><...

Jump to post
  • Sat Dec 21, 2019 11:00 pm
  • Replies 7
  • Views 374
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 374
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 option in product\.option %}(.*)$~]]></s...

Jump to post
  • Sat Dec 21, 2019 7:06 pm
  • Replies 7
  • Views 374
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 3
  • Views 896
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 270
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 270
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 22996
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 22996
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 442
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, it i...

Jump to post
  • Thu Sep 14, 2017 8:12 pm
  • Replies 3
  • Views 442
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 442
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 32897
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 1314
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 1314
Triggering Event Opencart 2.3.0.2

Trying out the event system for the first time. Something is not working for me. The code below. I want to trigger the public function test($input) on product edit. Event installs and uninstalls just fine, but the trigger admin/view/template/catalog/product_form/before does not fire the function tes...

Jump to post
  • Wed Jul 19, 2017 11:12 pm
  • Replies 3
  • Views 1314
Re: Edit orders extremely slow

i got the same problem on 2.0.1.1. It is both - on order view and order edit.

@hat opencart version do you have? Have you solved this problem by any chance?

Jump to post
  • Thu Jul 30, 2015 6:06 pm
  • Replies 1
  • Views 356

Search found 101 matches