Re: VQMod search issue.
the log from admin panel > modifications > Modification List tab "log" what exactly it says? plz paste it here: for example something like this FILE: catalog/view/theme/oc-light/template/product/search.twig CODE: button_cart LINE: 144 CODE: onclick="cart.add('{{ product.product_id }}', '{{ product.m...
Jump to post- Tue Mar 06, 2018 6:57 pm
- Replies 15
- Views 1029
Re: VQMod search issue.
open from ftp the file catalog/view/theme/*/template/product/product.twig and search for "<li>{{ text_tax }} {{ tax }}</li>" you will find it in line 147 if you dont fint it search for "{% if tax %}" its one line above if this text exists then ... we will get a solution in next post -- other way is ...
Jump to post- Tue Mar 06, 2018 6:41 pm
- Replies 15
- Views 1029
Re: Custom Mail Not Being Sent
is your smtp server corectrly set ?
have you tried to sent an email from console?
do you have errors dispayed or in the error log?
- Mon Mar 05, 2018 6:45 pm
- Replies 1
- Views 254
in which file hasPermission() method is implemented?
hi,
in wich file class User is?
, in which file hasPermission() method is implemented?
and where new User object is created?
thank you in advance
- Mon Mar 05, 2018 6:13 pm
- Replies 1
- Views 682
Re: Permission error when creating or modifying orders via admin console
go to
system>users>user group edit
and check if Modify Permission sale/order is checked
- Fri Mar 02, 2018 8:17 pm
- Replies 8
- Views 2686
Re: Twig Theme Editor Showing White Box in Admin Area
version of oc?
Jump to post- Fri Mar 02, 2018 8:10 pm
- Replies 2
- Views 248
Re: Newly Added Models on Admin doesn't listed for User Groups Permission
all controller files in the admin side are treated as resources, if you have a php file inside the folder admin/controler/ then it is listed in System > Users > User Groups only this files is ignored common/dashboard.php common/startup.php common/login.php common/logout.php common/forgotten.php comm...
Jump to post- Fri Mar 02, 2018 7:57 pm
- Replies 1
- Views 206
Re: SKU in filter and product list in the Admin area
a free good one module is
https://www.opencart.com/index.php?rout ... n_id=22288
- Fri Mar 02, 2018 5:12 pm
- Replies 4
- Views 977
Re: Short Pagination
the class pagination creates this which is in system/library/pagination.php if you comment Line 85 and 87 you will get somenthing like your posted image else if you want something like this: << < 2 3 4 > >> you can replace lines 84-88 with this: if (abs($page - $i) < 2 ) { if ($i === 1) { $output .=...
Jump to post- Fri Mar 02, 2018 12:08 am
- Replies 4
- Views 1345
Re: Short Pagination
which version of oc are you using?
provide us a link from where you found this pagination?
- Thu Mar 01, 2018 11:00 pm
- Replies 4
- Views 1345
Re: Upload Image Using Front End Error
maybe you can set other filetypes too from the admin menu of the module
how do you change file size allowed
- Tue Feb 27, 2018 11:13 pm
- Replies 18
- Views 1458
Re: Upload Image Using Front End Error
did you get it from the marketplace?
Jump to post- Tue Feb 27, 2018 11:03 pm
- Replies 18
- Views 1458
Re: Upload Image Using Front End Error
line298: if ($this->request->files['file']['size'] > ((int)$this->config->get('marketplace_imagesize') ? (int)$this->config->get('marketplace_imagesize')*1000 : 200000 )) there is the limit of the image size (=195kb), maybe you can change it from the admin>extentions>.. can you sent me the link of m...
Jump to post- Tue Feb 27, 2018 10:50 pm
- Replies 18
- Views 1458
Re: Upload Image Using Front End Error
change line 347: if (substr(mime_content_type($directory . '/' . $filename),0,6) == 'image/jpeg') { list($width, $height, $type, $attr) = getimagesize($directory . '/' . $filename); if ($type !=0 ) { getimagesize() is not a good way to check that a given file is a valid image, but is a temporary fix...
Jump to post- Tue Feb 27, 2018 10:17 pm
- Replies 18
- Views 1458
Re: Upload Image Using Front End Error
nope, sorry
copy and paste here, to the forum your code, so as to see your code and make for you some changes
--
php.ini has to be with this name so as to be executed and has to be in your root folder
rename the file to php.ini and add this line
mime_magic.magicfile = "/usr/share/magic.mime";
- Tue Feb 27, 2018 8:50 pm
- Replies 18
- Views 1458
Re: Upload Image Using Front End Error
this function "mime_content_type ( string $filename )" returns the MIME content type for a file as determined by using information from the magic.mime file. so as mime_content_type to work in Linux you have to add mime_magic.magicfile = "/usr/share/magic.mime" to php.ini (remember to find the correc...
Jump to post- Tue Feb 27, 2018 5:46 pm
- Replies 18
- Views 1458
Re: Upload Image Using Front End Error
it is propably an error of the extention, there is on such file in catalog/controller/common directory
you have to ask for support from the extention creator
what is your php version?
- Tue Feb 27, 2018 5:14 pm
- Replies 18
- Views 1458
Re: Out of stock doesnt work in Opencart ??
there is in two places if you have (select or radio or checkbox) options on a product
catalog>products>option
- Mon Feb 26, 2018 7:00 pm
- Replies 14
- Views 3429
Re: How to edit footer links for opencart 3.0
it is not a good practice to make changes to core files, you have to use ocmod https://github.com/opencart/opencart/wiki/Modification-System , so as to make a modification, when ever you update the version of opencart, your change still will be there only by refreshing your modification via the admi...
Jump to post- Sun Feb 25, 2018 3:54 am
- Replies 17
- Views 46914
Re: how to remove currency from header in opencart 3.0
what happens if you use both ocmod and editing a page via theme editor?
i believe oc reads only the changes that you have done via theme editor,
and no module which changes this specific file will work Jump to post
- Sun Feb 25, 2018 3:46 am
- Replies 8
- Views 5234