How to modify json variable with Events?
Hi, I want to change: $json['total'] = sprintf($this->language->get('text_wishlist'), $this->model_account_wishlist->getTotalWishlist()); To: $json['total'] = $this->model_account_wishlist->getTotalWishlist(); File: catalog/controller/account/wishlist.php it is possible to do with OC Events (not wit...
Jump to post- Wed Jul 29, 2020 10:26 pm
- Replies 13
- Views 975
Re: OpenCart Alpha 3.1.0.0 has been released
Hello, Is OCMOD (marketplace/modification) temporary is removed from OC 3.1.x or for forever? Good question! Let's hope OCmod will be gone forever, forcing 3rd party extension developers to do plugins via event handlers. Events is good, but as I know with Events you can't change twig template file?...
Jump to post- Fri Jul 24, 2020 5:06 pm
- Replies 149
- Views 134032
Re: OpenCart Alpha 3.1.0.0 has been released
Hello,
Is OCMOD (marketplace/modification) temporary is removed from OC 3.1.x or for forever?
- Wed Jun 24, 2020 7:44 pm
- Replies 149
- Views 134032
Re: OpenCart Alpha 3.1.0.0 has been released
I love OpenCart and still using 1.5 version on some projects. Every new version is better than previous. New features, bugs fixed and etc. OC 3.0.x is great version, but 3.1.x looks better. Well well well , you could not have it pointed out better, after beeing around here for 6 Years , and with yo...
Jump to post- Tue Feb 04, 2020 4:31 am
- Replies 149
- Views 134032
Re: OpenCart Alpha 3.1.0.0 has been released
1.5+ year is too much time for beta testing. The worst that can happen is to start a new eshop on the old version and find out that a new stable version has been released in a few weeks. I think everyone wants to know at least the approximate release time. Ok then.. How much money have you got to i...
Jump to post- Sat Feb 01, 2020 5:18 pm
- Replies 149
- Views 134032
Re: OpenCart Alpha 3.1.0.0 has been released
Why is OpenCart's new update not available? When will the new update be released? OpenCart is a very nice system, but I do not understand why it is not updated. I can help you here... OC new update is not available because is not ready. Is not very hard to understand, is it? In the past 12 months i...
Jump to post- Fri Jan 31, 2020 8:16 pm
- Replies 149
- Views 134032
Re: OpenCart Alpha 3.1.0.0 has been released
Many people waiting for a new version. Maybe there is any news?
Jump to post- Thu Oct 03, 2019 2:53 am
- Replies 149
- Views 134032
Re: Forms submit in admin (Chrome, jQuery bug?)
Thank you for fast reply. I hope OpenCart will fix it.
Jump to post- Thu Jul 04, 2019 3:56 pm
- Replies 2
- Views 713
Forms submit in admin (Chrome, jQuery bug?)
Hello,
I noticed strange thing when saving forms in admin (saving product, attributes and etc.). This happens only in Chrome browser. Can anyone explain to me what it is?
- Thu Jul 04, 2019 3:40 pm
- Replies 2
- Views 713
Re: OC 3.0.x Events System: How to modify twig template file?
Thank you for replies. All mentioned methods not very good looking forward because unexpected problems with other modules may occur. Events is good when you need to add something new or replace data array in controller. But as I understand to make small replaces in template files still best way with...
Jump to post- Sat May 25, 2019 2:48 pm
- Replies 30
- Views 4439
OC 3.0.x Events System: How to modify twig template file?
Hello, OpenCart Events systems (https://github.com/opencart/opencart/wiki/Events-System) looks interesting, but I has a question: How to edit twig file without ocmod/vqmod? For example I need to replace one line in product_form.twig: {% if customer_group.customer_group_id == product_special.customer...
Jump to post- Fri May 24, 2019 8:43 pm
- Replies 30
- Views 4439
Re: issues with increased the memory size
Hi,
the easiest solution is increase memory limit in server settings. If you already done it, you should optimize 3th party modules PHP code.
More info about this problem you can find here: viewtopic.php?t=102258
- Fri May 10, 2019 8:09 pm
- Replies 2
- Views 765
Re: Add a row of poducts
It can depends on you theme. But you can try to edit "Latest" extension here: http://prntscr.com/nmsmm4 You can try to increase products limit to current module: http://prntscr.com/nmsmsz Or create new similar module. Don't forget to add in home layout: http://prntscr.com/nmsnah http://prntscr.com/n...
Jump to post- Fri May 10, 2019 7:53 pm
- Replies 1
- Views 302
Finnish language Pack for OC 1.5.6
Hello,
maybe someone know where to find Finnish language pack for Opencart 1.5.6?
In the marketplace only for OC 2+
- Thu Aug 31, 2017 3:42 pm
- Replies 1
- Views 2100
Re: OpenCart 3.0.1.0 Released
Normally most users holding Opencart in FTP with 0755 folders permissions, so how to install new extension from extensions installer? Always get permission error on installer.php because usually apache user does not have permission to create dirs or rename files... if (is_dir($file) && !is_dir($path...
Jump to post- Tue Jul 11, 2017 7:38 pm
- Replies 51
- Views 33986
Re: How do I get totals order
It depends where you want to get orders info, but something like this:
Code: Select all
$this->load->model('sale/order');
$order_total = $this->model_sale_order->getTotalOrders($filter_data);
- Mon Apr 10, 2017 2:44 pm
- Replies 1
- Views 1151
Re: limit sub category display on menu?
Hi, the category columns you can set in admin. See attached image. MP3 Players has 4 columns. Show all ... just template additional link. You can find it in common/header.tpl file. <ul class="nav navbar-nav"> <?php foreach ($categories as $category) { ?> <?php if ($category['children']) { ?> <li cla...
Jump to post- Mon Apr 10, 2017 2:38 pm
- Replies 1
- Views 784
Re: New opencart web site - bugs
New lower price in extension market? Was 10, now 20?
Code: Select all
Price must be 20.00 USD or more!
- Thu Apr 06, 2017 7:39 pm
- Replies 351
- Views 80359
Re: Reikalingas patarimas
Labas,
tau reikia koreguoti /public_html/catalog/view/theme/tavo_tema/template/product/product.tpl failą.
Susirasti vietą kur išvedama nuotrauka(-os) ir perkelti HTML į kitą norimą vietą.
- Thu Apr 06, 2017 1:57 pm
- Replies 2
- Views 7562
Re: Echo Company Field in Order Confirmation Email ?
If you want to use variable in templates files, first you should setup it in controller file:
$this->data['shipping_company'] = $some_variable;
- Thu Apr 06, 2017 1:53 pm
- Replies 1
- Views 469