Questions tagged [opencart2.x]

Opencart version 2.0.0.0 and above, released 2014-10-01

OpenCart 2

Opencart Commerce version 2x (version 2.0.0.0 and above)

This is the latest release of the OpenCart PHP and MySQL driven ecommerce platform. OpenCart supports Multi-Channel ecommerce with availability for multi currecy, language, template, domain and device (tablet, web and mobile). There is also modules for kiosk, vendors such as Amazon and eBay and also Google and Apple App Store.

New features include:

  • Fully responsive design - both the admin and the front-end
  • OCmod - virtual file modification. Redesigned admin area and front end - a marketplace module enviroment
  • Support for CDN, cloud computing and enterprise driven stores with high volume and transaction rate

  • More payment gateways included in the standard download.

  • Event notification system. Custom form fields.

Although 2.0 is now released we advise all existing store owners to check that any 3rd party modules they have installed will work with the latest version. If you already have a working store we always advise a backup is done and you test in a new environment before you update!

You can download any version of Opencart from this url

You can also browse the extensions from this url

1162 questions
12
votes
3 answers

How can we use opencart events?

I have searched a lot about opencart triggers but didn't find a proper example. In opencart 2.0 there are triggers on which developer can hook function and perform something just like wordpress action and filters i guess. For example…
Adnan
  • 489
  • 1
  • 3
  • 10
8
votes
1 answer

Add a Custom Field on Opencart admin 'Order Info' page

I want to add custom field on opencart admin order pages. compare value like if oc_order.order_id = oc_custom_table.order_id then display oc_custom_table.comment on admin order list. display same thing on admin order info page. I added a custom…
Syed Mudabbir
  • 277
  • 4
  • 15
8
votes
7 answers

opencart 2.0 SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data OK

I looked all over the internet and found no answer. Basically my problem is whenever I try to edit orders and change stores I get the SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data OK in firefox and in chrome I…
user2242141
  • 131
  • 1
  • 1
  • 5
7
votes
5 answers

Best way to modify OpenCart without touching Core and VQMOD/OCMOD

Is there a better way then using VQMOD/OCMOD to change OpenCart's core files? Is there some "overrides" folder exists so that I can simply create any PHP file corresponding to the file structure and simply override a core file? (Like it is possible…
Serhii Matrunchyk
  • 6,275
  • 4
  • 31
  • 44
6
votes
1 answer

How to pass custom variable in cart?

I am using Opencart 2.0.1.1. There is hidden text field on product page that I want to post on cart page. I am following this tutorial but getting Undefined index issue. I have done the following…
Triyugi Narayan Mani
  • 2,453
  • 8
  • 20
  • 45
6
votes
2 answers

Opencart product.tpl not updating

I really hope someone is able to help as I'm totally losing my mind on this one. I'm using Opencart Version 2.0.1.0 and for the life of me I can't work out why changes I'm making to theme/xxx/template/product/product.tpl is not updating on the live…
T..
  • 91
  • 5
6
votes
6 answers

How to reset OpenCart 2+ administrative password?

Apparently the new (v2) OpenCart's password encryption scheme is not a simple md5 hash. I attempted to search the net for a way to reset the admin password after I changed hosts for my OpenCart installtion but could not find anything. Thank you.
Slavic
  • 1,852
  • 2
  • 16
  • 25
6
votes
1 answer

Send Attachment in PHP with OpenCart 2.1.1.1

Does anyone with knowledge of OpenCart 2.0.1.1 know how I could implement the following addAttachment function found in system/libary/mail.php: public function addAttachment($filename) { $this->attachments[] = $filename; } into…
Liam McArthur
  • 934
  • 3
  • 14
  • 36
5
votes
3 answers

Fatal error: Call to undefined function utf8_substr() Opencart

My site was working fine from last 2 3 months but now it shows 500 Server error message. Then I saw the error.log file it says that PHP Fatal error: Call to undefined function utf8_substr() in public_html/catalog/model/tool/image.php on line…
Sharik Shaikh
  • 91
  • 1
  • 4
5
votes
1 answer

How to add script using OCmode in Opencart 2.0.3.1

I want to add script using ocmode in opencart 2.0.3.1. Save and Continue Button in Settings-Category-Product-All …
CBA
  • 194
  • 13
5
votes
0 answers

Apply xml script of VQmod only when some condition satisfies opencart

How can i create a module which only enables only when some values in config match. This module is completely handled by VQmod. And i want to make sure that xml only executes when some value satisfies. Like…
Vidhyut Pandya
  • 1,481
  • 1
  • 12
  • 23
5
votes
2 answers

Check module position in OpenCart 2.0

I was using following code for Check module position. So, It is working fine in OpenCart 1.5.6. When module Enabled in Content left & right panel so I want to hide javascript code in OpenCart but, it is not working in Opencart 2.0 How can be…
HDP
  • 3,003
  • 2
  • 28
  • 50
5
votes
2 answers

Adding an admin page on OpenCart version 2

I am havin a problem adding an admin page to Opencart2, and following the answers on pretty much identical questions on SO do no help, so I beleive the problem is specific to OC2. Following the answer at this question I still get the error…
Gavin Simpson
  • 2,523
  • 3
  • 25
  • 32
4
votes
1 answer

How to reduce the number of fields requested during registration? | OpenCart 2

Is it possible to adjust / remove entry fields on registration page? Image:
4
votes
1 answer

How to Login/register into Opencart using OTP (One time password)

I am building an Android Application using opencart as my backend. I want login/registration to be otp based ( no password needed ever). I know how to send sms to user and verify phone number. I am also collecting user email and Name. I need to…
ashfaq.p
  • 4,877
  • 15
  • 30
1
2 3
77 78