Questions tagged [opencart-3]

Use this tag for programming-related questions specific to version 3.x of OpenCart, the open source shopping cart system written in PHP. Questions should also be tagged [opencart].

OpenCart 3.x, started by version 3.0.0 release on June 19th, 2017.

The most notable change in 3.0.0 is the new template system requirement. Template files will no longer use the old tpl format now it's using the twig.

Three major changes in the platform:

  • Extension Marketplace Integrated in the Admin
  • Theme Editor
  • Language Editor

Additional new features that are introduced:

  • Multilingual SEO URLs

  • Improved Admin Data Filters

  • Improved & Flexible Reports

  • Statistics

  • Removed FTP Tab

566 questions
0
votes
0 answers

OpenCart 3.0.2.0 URL added to meta title

OpenCart seems to be randomly adding the start of my domain name to the meta title. I have no SEO extensions added and when I view source there is nothing obvious there that's causing this. Can someone help me as it seems to be hurting my SEO.
Matthew
  • 1
  • 2
0
votes
1 answer

Enter an information page in top menu in OpenCart 3.0.x

All the help for OpenCart on internet is on *.tpl files... But OpenCart is updated now so the basic problem I'm facing is that I want to add an information page 'aboutus' in top menu. There's no HTML view which I can change so, I've a .twig file…
ghazi asif
  • 3
  • 1
  • 5
0
votes
1 answer

OpenCart not adding order history 3.0.1.1

I'm not able of solve this problem, I'm stuck here trying figure out what is happening, i installed a payment extension, and when i try pay the product with a credit card, everything works, my payment server confirms the transation and the OpenCart…
user4332766
0
votes
1 answer

In OpenCart 3.0 how do I delete the email form and replace with email link?

I would like to delete the email form that's in the contact us page by default, and just list my email address there. I also want to type in some more info on that page. How do I change that? Which file do I change in version 3.0? The new 3.0…
Martin H
  • 29
  • 2
  • 3
0
votes
0 answers

OpenCart 3.X SEO URLs are all going to the homepage

I'm running OpenCart 3.0.2.0 and I've turned on SEO Urls. But they're all displaying the home page. My htaccess file is what came as default (yes, I changed it from htaccess.txt to .htaccess). I can't for the life of me figure out why they're not…
SoulieBaby
  • 5,405
  • 25
  • 95
  • 145
0
votes
1 answer

Showing units sold in product page OpenCartv3

I'm trying to show the units sold for each product in Product page in OpenCart v3 but I keep getting the following error Fatal error: Uncaught Error: Call to a member function getUnitsSold() on null in …
Hau Lee
  • 3
  • 1
0
votes
1 answer

Permission denied in OpenCart 3 module when saving on admin menu

When I try to save the changes on my module it says permission denied. I am pretty sure it is from the controller file. I've enabled all the permissions on the User Group: "Administrator". But I don't really know where it comes from as this is my…
0
votes
1 answer

Can I use Opencart 2.x modules with Opencart 3.x?

I want to use this Opencart CFO Custom Formulas module which is compatible with Opencart 2.3.0.2, but will it work with Opencart 3.x?
0
votes
0 answers

OpenCart 3 error using PayPal

I have setup OpenCart 3 here www.toolfolks.com/shop When I add this product for a test http://toolfolks.com/shop/index.php?rou ... 7&search=£ (it is only 10 pence ) I can purchase from a mobile device but a web browser fails. I see the following in…
user3193843
  • 295
  • 1
  • 3
  • 15
0
votes
1 answer

OpenCart 3.0.0 restrict product info page access for visitor and ask sign up?

I want to restrict website visitors' access to category page only, And show a notification that visitors need to sign up to view individual product page. Will editing code in the controller/common header.php do? or do I need to add condition…
-1
votes
1 answer

How to get category hierarchy by id | Opencart 3

Im trying to get full category hierarchy by id but its look impossible for some reason this code is getting all category hierarchy Example Database SELECT cp.category_id AS category_id, GROUP_CONCAT(cd1.name ORDER BY cp.level SEPARATOR ' >…
bobi
  • 169
  • 2
  • 16
-1
votes
1 answer

Redirect visitor to different domain based on the domain and page they came from

Redirect visitor to different domain based on the domain and page they came from. Can't find any info on this, or I’m wording it incorrectly. Redirecting visitor to different domain and page if they didn’t come from web-page on different Domain. I’m…
-1
votes
1 answer

Change filtration method in Opencart 3 Category Bestseller module

I have a module for Opencart 3 - Category Bestseller. It shows the popular categories in which the most items are sold. I would like to change this filter. Make it so that it shows the categories in which the most viewed products. After sorting…
Alines
  • 37
  • 6
-1
votes
2 answers

error Warning: Undefined array key "name" #php

enter image description here show me how to fix this error , although there are quite a few posts but mine is a bit different . I don't understand php well thanks ! details of the error code line: $datainfo['category'] = $category['name'];
dev99
  • 11
  • 3
-1
votes
1 answer

Automatic related products on product page based on its categories

I want to display products related to the one being display on product/product page based on this products categories, instead of relying only on the manually linked related products. This is a great time saver specially on stores with a lot of…