Search found 2023 matches

Search found 2023 matches

Re: OpenCart 4.0.0.0 Released

Thank you for all the hard work and the new version release!!

The new v4 is compatible with PHP 8.1, which is great.
Please also update/inform the minimum requirements (PHP version, PHP extension, Database version, etc).

Jump to post
  • Tue May 24, 2022 5:29 pm
  • Replies 26
  • Views 17013
Re: OC 3.0.x Events System: How to modify twig template file?

@qahar: Thank you for sharing your thoughts with us. As it stands, OC 4 won't have a built-in OCmod at all, modifications can only be done via event handlers. Personally, I tend to use the Override Engine for our sites, which uses a factory class and a dynamic chain of object-oriented class extensi...

Jump to post
  • Sun Jan 10, 2021 3:23 pm
  • Replies 38
  • Views 20311
Re: OC 3.0.x Events System: How to modify twig template file?

The best approach for the template is still using ocmod, but for this specific case, there is still a workaround with Event. Let's just assume the code was in the product template. <?php public function adminViewProductProductFromBefore(&$route, &$data, &$template) { /** * Assuming: * $d...

Jump to post
  • Sat Jan 09, 2021 7:21 pm
  • Replies 38
  • Views 20311
Re: PHP 7.2 Support?

I'm doing two compatibility test for OpenCart current master branch , commit e8a0a91 March 5, 2018. # PHP CodeSniffer Compatibility Test against PHP between version 5.4 - 7.3 phpcs -p . --extensions=php --standard=PHPCompatibility --runtime-set testVersion 5.4-7.3 --report-summary=./phpcs_compat_sum...

Jump to post
  • Thu Mar 08, 2018 1:45 pm
  • Replies 25
  • Views 23871
Re: HTML Encoding

The clean() code can be traced far back to version 1.4, at least that is when I know OpenCart. Opencart heavily use and transparantly pass $this->request->get and $this ->request->post to view. Instead of escaping all this output, and afraid the developer forgot escape it, cleaning the input is the ...

Jump to post
  • Fri Mar 02, 2018 3:28 pm
  • Replies 6
  • Views 7269
Re: HTML Encoding

OpenCart not use prepared statement, thus it's require to escape input in order to prevent sql injection

Jump to post
  • Wed Feb 28, 2018 9:22 am
  • Replies 6
  • Views 7269
Re: OpenCart 3 native WYSIWYG editor bad html

Editors usually have Paste as Text option to remove html tags from external source (site page, file document, pdf etc). If it's not available paste the content to text based editor (notepad or vim), copy again and paste to editor in WYSIWYG mode. The worse outcome each paragraph separated with <br> ...

Jump to post
  • Wed Feb 21, 2018 2:23 am
  • Replies 4
  • Views 5510
Re: Isn't Opencart latest not compatible with Latest MySQL 5.7.18 ?

sites are dead It would be good start to inform was it blank white, infinite loading, any error log you can share etc. I'm not sure what is your previous MySQL version, but your issue might be related to sql mode change only_full_group_by that enabled by default since MySQL 5.7.5. There is lot of s...

Jump to post
  • Wed Feb 21, 2018 2:11 am
  • Replies 20
  • Views 6407
Re: default2 - free OpenCart 2 theme

cfzone wrote:I am using OC 2.3.0.2. Google map on "contact us" disappeared. Please help..
A link to your site will help to check the issue

Jump to post
  • Sat Jan 07, 2017 6:12 pm
  • Replies 196
  • Views 138497
Re: default2 - free OpenCart 2 theme

@rochweb unfortunetly I cannot reproduce the issue, both my local and demo is fine. Had you check the demo with your ie11?

Jump to post
  • Mon Dec 05, 2016 3:07 am
  • Replies 196
  • Views 138497
Re: default2 - free OpenCart 2 theme

Sorry but it's not the default character length as the option is only 10 - 11characters long and still gets translated incorrectly after the second quotation mark Yes, I can reproduce this issue. And after checking again I found that this is -still- OpenCart issue. The option text is not decoded be...

Jump to post
  • Fri Nov 18, 2016 1:50 am
  • Replies 196
  • Views 138497
Re: default2 - free OpenCart 2 theme

frostaholic wrote:everything appears to be working apart from my categories i get this error when i click on a category
default2 for OpenCart 2.2 is not using vQmod but OcMod and default2 category module template only contain 28 line code.
Your issue possibly produced by one of your vQmod file

Jump to post
  • Thu Nov 17, 2016 7:04 pm
  • Replies 196
  • Views 138497
Re: default2 - free OpenCart 2 theme

I noticed when using Default 2...if you have a quotation mark " in your product options, then the cart is replacing quotation with amprasand & and clipping... I think it's nothing to do with the theme but instead with characters length. The option text is truncated after 20 characters by O...

Jump to post
  • Thu Nov 17, 2016 6:58 pm
  • Replies 196
  • Views 138497
Re: Why I cant find Opencart Extentions Page in new site?

I think the site updates is still in progress. It's 404 for all of us currently.
Nothing we can do but wait until everything is back.

Jump to post
  • Wed Nov 09, 2016 7:38 pm
  • Replies 3
  • Views 821
Re: default2 - free OpenCart 2 theme

I did notice that it left the old extensions enabled within the modifications...so it looks like you have two verions of each (current and previous). I disabled my pervious 1.3.0 versions. I can delete OcMod directly in database but that will require user to visit the themes pages, and back to modi...

Jump to post
  • Tue Nov 08, 2016 12:30 am
  • Replies 196
  • Views 138497
Re: default2 - free OpenCart 2 theme

default2 v2.3.1 updates * Fixed ^ Improvement + New Feature ~ Deprecated # New Feature - Feedback Expected === v2.3.1 ^ Separating default and custom preset ^ Ajax for specific templates ^ Update Rhythm Framework 1.3.1 ^ Update Gearbox Modules 1.3.1 * Fix Events updates OC 2.3.x compatible * Fix pro...

Jump to post
  • Sat Nov 05, 2016 2:45 pm
  • Replies 196
  • Views 138497
Re: READ This Before Posting

For new user please read post on Forum Rules, or at minimum read this post:

- Forum Etiquette and Common Sense
- Tips for Requesting Support

Jump to post
  • Thu Nov 03, 2016 9:58 pm
  • Replies 6
  • Views 420500
Re: default2 - free OpenCart 2 theme - Extensions

My new question is how to adapt an extension I purchased, but it was for a different theme. So, I've been reading up on your framework and the concept that you used in building Default 2 to allow moving of extensions...ie: you state if it worked in default theme it will work in Default 2. So, what ...

Jump to post
  • Thu Oct 27, 2016 3:05 pm
  • Replies 196
  • Views 138497
Re: default2 - free OpenCart 2 theme -New issues

I've done a fresh install of OC 2.3.0.2 and only added Default 2 theme. Same issues happen and theme-preset-1.min.css still has @import "bootstrap/mixins/buttons.less" in it and no .btn-primary. Unfortunately that I cannot reproduce this issue so I don't have any idea what cause this. Hav...

Jump to post
  • Mon Oct 24, 2016 10:06 pm
  • Replies 196
  • Views 138497

Search found 2023 matches