Search found 79 matches

Search found 79 matches

Modification for a file from each template

Hello, everyone!
How to write a modification for the shipping_method.twig file so that the modification is visible in every template?

Jump to post
  • Thu Oct 10, 2019 9:50 pm
  • Replies 2
  • Views 187
Re: Opencart does not load content from language files.

What an oversight! I'm so embarrassed! In fact, in other browsers the native language is included, which has no translation. Sorry for the confusion and thanks for paying attention. :laugh: :crazy: :)

Jump to post
  • Thu Jul 11, 2019 6:58 pm
  • Replies 4
  • Views 427
Re: Opencart does not load content from language files.

Shop work on OC 3.0.3.1. It is hosted on localhost XAMPP, php 7. Language is load in controller file by $this->load->language('konfigurator/konfigurator');
I've never seen anything like it before so I don't know what else information is needed.

Jump to post
  • Thu Jul 11, 2019 6:39 pm
  • Replies 4
  • Views 427
Opencart does not load content from language files.

Hello, everyone. I have a strange problem with Opencart. I'm writing a new extension and it turns out that the content from language files is loaded only in Chrome browser. See how it looks in the attachments. Does anyone know how to solve this problem?

Jump to post
  • Thu Jul 11, 2019 6:13 pm
  • Replies 4
  • Views 427
Re: Filtering on friendly urls doesn't work.

Yes it is OC 3.0.1.1 I changed url in filter.twig but it is not universaly. When I turn off friendly urls I will must change file again? <script type="text/javascript"> $('#button-filter').on('click', function() { filter = []; $('input[name^=\'filter\']:checked').each(function(element) { filter.push...

Jump to post
  • Tue Apr 16, 2019 6:01 pm
  • Replies 14
  • Views 428
Re: Filtering on friendly urls doesn't work.

letxobnav wrote:
Tue Apr 16, 2019 5:45 pm
your filter puts an & where there should be a ?
You're right. I'll check the controller right away.

Jump to post
  • Tue Apr 16, 2019 5:52 pm
  • Replies 14
  • Views 428
Re: Filtering on friendly urls doesn't work.

The default Opencart module for filtering products. In the appendix screen from the list of modules.

Jump to post
  • Tue Apr 16, 2019 5:47 pm
  • Replies 14
  • Views 428
Re: Filtering on friendly urls doesn't work.

I'm talking about a filter module for filtering products. The module is on the left side of the shop.

Jump to post
  • Tue Apr 16, 2019 5:24 pm
  • Replies 14
  • Views 428
Re: Filtering on friendly urls doesn't work.

Maybe when you see the page you'll know more. The config file must be well configured. Everything works except filters. When I turn off the friendly urls the filters start to work.

Link to category with filters: https://www.endlesslove-flowerbox.de/Cl ... on%20Black

Jump to post
  • Tue Apr 16, 2019 5:06 pm
  • Replies 14
  • Views 428
Re: Filtering on friendly urls doesn't work.

Yes, all work fine but when I turn on friendly urls addresses, filters shutting down. Friendly urls work well throughout the store except for filters.

Jump to post
  • Tue Apr 16, 2019 1:08 am
  • Replies 14
  • Views 428
Filtering on friendly urls doesn't work.

Hello, you guys. I have a problem with Opencart 3. My products are allocated to products respectively. Everything works to knock I do not use friendly url addresses. When in the admin panel, in the system settings, I enable the use of friendly url addresses, all filters stop working, and clicking th...

Jump to post
  • Mon Apr 15, 2019 9:59 pm
  • Replies 14
  • Views 428
Custom product to cart

Welcome to you

I have to write a product configurator consisting of several steps. Finished product I have to add to the basket and here my problems begin. Can I add another product with JSON description to the basket? Where does Opencart store product information in the shopping cart?

Jump to post
  • Fri Mar 22, 2019 1:02 am
  • Replies 1
  • Views 307
Re: The directory catalog/... is not allowed to be written to! // Installation of modifications

Such a ready-made enlargement will certainly make things easier. Nevertheless, the installation of extensions requires the installation of other extensions. That's the wrong way to go. Opencart takes a step backwards.

Jump to post
  • Sat Mar 02, 2019 12:49 am
  • Replies 4
  • Views 248
Re: The directory catalog/... is not allowed to be written to! // Installation of modifications

Welcome again. I have just found a solution. You need to edit the file: admin/controller/marketplace/install.php find a line $allowed = array( and add a path to the array: 'catalog/controller/common/' I think it's a bad Opencart construction. This means that end users of Opencart need to edit the sy...

Jump to post
  • Sat Mar 02, 2019 12:37 am
  • Replies 4
  • Views 248
The directory catalog/... is not allowed to be written to! // Installation of modifications

Hello I've just written modifications for the latest version of OC 3.0.3.1 and I'm moving on to the installation. An error occurs during installation: The directory catalog/controller/common is not allowed to be written to! The modified file is catalog/controller/common/footer.php I'm working on XAM...

Jump to post
  • Sat Mar 02, 2019 12:21 am
  • Replies 4
  • Views 248
OC v3.0.3.1 | Save product | Duplicate entry '0' when insert into oc_product_advertise_google

Hi I instaled new version of OC v3.0.3.1 and trayed save new product. The write operation ends with an error: Fatal error: Uncaught Exception: Error: Duplicate entry '0' for key 'PRIMARY'<br />Error No: 1062<br />INSERT INTO `oc_product_advertise_google` (`product_id`, `store_id`, `google_product_ca...

Jump to post
  • Thu Feb 28, 2019 11:40 pm
  • Replies 2
  • Views 332
Save sets in module

Hello I am writing a new module that uses the oc_setting table. I am trying to save data from the form. Unfortunately unsuccessfully. Can you help? Support of the variable in the controller. foreach ($languages as $language) { if (isset($this->request->post['theme_contact_fax' . $language['language_...

Jump to post
  • Tue Feb 26, 2019 1:37 am
  • Replies 2
  • Views 197

Search found 79 matches