Questions tagged [opencart]

Free open source shopping cart system written in PHP and based on MVC architecture. Questions regarding third party extensions, templates, or how to do what in administration should not be asked here - use the developer's support, OpenCart support team or OpenCart forums for this kind of question.

opencart
2,272 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
2 answers
9k views

SMTP "Error: DATA not accepted from server!" Opencart 2.3 on InMotionHosting

I've installed a brand new Opencart 2.3.0.2 on Inmotionhosting with all default settings except MAIL settings which I've tried many different combinations. Although it shows the "Error: DATA not ...
Kardo's user avatar
  • 1,688
2 votes
0 answers
49 views

Output of the login and registration form in the site header (OpenCart 2.1)

Good day! There was a following problem. By design, the login and registration forms must be in the site header. I tried to do the following: In home.php $ Data ['login'] = $ this-> load-> ...
Oklick's user avatar
  • 41
2 votes
0 answers
37 views

Error on getting information in mysql

I have a public function with query but I don't get all the informations correctly. public function getNextId($product_id,$product_category_id) { $query2zz = $this->db->query(" SELECT * ...
Robert Ursărescu's user avatar
2 votes
0 answers
290 views

Opencart how unserialize(): Error is generated while saving data to database

how this error is generated PHP Notice: unserialize(): Error at offset 11 of 55 bytes in /catalog/model/account/address.php on line 124 - index.php?route=checkout/payment_address/save And PHP ...
user3664519's user avatar
2 votes
0 answers
416 views

GOP Cash On Delivery - Enable Rule when I choose shipping method

I need a code I can use with "Enable Rule" at GOP Cash On Delivery - Opencart Module - when I choose the shipping method. For example shipping method information as next : <input type="radio" ...
متجر درزن Darzan Store's user avatar
2 votes
1 answer
2k views

Opencart: How to show all status orders in Order List Page

Am new in Opencart, I need to show all status orders in order list page. I mean my dashboard shows only pending status orders list. But i need to show processing, Missing Order, complete, ect... ...
Madhumitha's user avatar
2 votes
0 answers
107 views

Shipping rate issue in opencart

I have used opencart version : 2.0.1.1 and have defined below shipping rates based on weight, 800:40.00,1250:60.00,1700:80.00,2200:100.00,2700:120.00,999999:40.00 But in checkout/cart page prices ...
Mohan's user avatar
  • 291
2 votes
1 answer
452 views

HTTP error 500 - htaccess file related

My website is currently giving me a HTTP error 500. It seems to be the frontend that is not working, as the backend (/admin) works as do the emails and subdomains which are on the same VPS. I have ...
1fruit's user avatar
  • 21
2 votes
1 answer
3k views

How to update order status in OpenCart

I'm currently building an OpenCart payment extension for a new payment gateway. Right now, I can successfully make payments and redirect back to the merchant site but I don't know how to write the ...
oriolowonancy's user avatar
2 votes
2 answers
3k views

Opencart API : Issue with session app_id (how to get api_id)

I am working on Opencart API (opencart v2.3) and I follow this link for documentation (Opencart ) . But there is no data on opencart APIs and how to use it, So I follow steps from other websites and ...
Shivam Pandya's user avatar
2 votes
1 answer
641 views

nginx opencart rewrite remove index.php?route

My site opens the home page with this link: https://www.azertranss.az/index.php?route=common/home But I would like to remove index.php?route= How can I make URL to work with this link? https://www....
Ayxan Əmiraslanlı's user avatar
2 votes
1 answer
1k views

Opencart default language doesn't work

I have OpenCart multi language store with Arabic and English, I set the default language to be Arabic, it works well for all devices except on Samsung where it will show the browser's language as a ...
user3392085's user avatar
2 votes
0 answers
37 views

Different values of the same query in Opecart

I am using Opencart 1.5 and I am working on localhost. In the product table, I have added three new columns which are: `review_status` TINYINT(4) NOT NULL DEFAULT '0' `lock_edit_view` TINYINT(4) NOT ...
okconfused's user avatar
  • 3,607
2 votes
1 answer
43 views

Changing customer_id to fax in Opencart 1.5.x

I have changed table "customer_rewards" and some other stuff what connected with rewards in Opencart 1.5.x. Now in table "customer_rewards" customer_id column contains fax of customer. I just have ...
Hazzy's user avatar
  • 43
2 votes
1 answer
1k views

Opencart PHP Notice; Undefine variable: Username

I am using Opencart Version 2.3.0.2 and I am getting an error log with: PHP Notice: Undefined variable: username in 2016-09-08 12:53:35 - PHP Notice: Undefined variable: username in /home/sitename/...
Vagabond Elmer's user avatar
2 votes
0 answers
149 views

OpenCart - Static discount percent

I've added some discount percent extension on the opencart 1.5.4.1 and it works, if i add the percent, the product price with discount updates automatically. But if i update the original price of the ...
Alisson's user avatar
  • 21
2 votes
2 answers
4k views

Opencart 2 API session issues

I'm trying to use the OpenCart 2 API but I'm not entirely familiar with it, nor Opencart in general TBH. I have created an API key in the admin area, and I can successfully communicate with the API ...
Michael Emerson's user avatar
2 votes
1 answer
405 views

Opencart module for all the pages

I am creating a banner module in opencart and I want to assign this to all layouts so that it will show on all the pages but opencart there is no option for select multi layout on one click. How can I ...
user3514011's user avatar
2 votes
1 answer
979 views

Add quantity field with each product which contain particular quatity as per user added product into the cart

I added a quantity box near add to cart button for particular product added in cart. Initially it is zero. As user/customer adds a product to cart, its size should increase one by one. File ...
Ankit's user avatar
  • 87
2 votes
3 answers
250 views

Opencart Background Image/Colour Error

Afternoon Stack overflow, My issue is with my website here I'm using a module for the background image which works perfectly well on desktop computers and ipads, When a mobile user looks over the ...
Steven's user avatar
  • 31
2 votes
1 answer
1k views

Can't access Opencart backend

I can't login to my Opencart Admin Panel because when I navigate to www.mysite.com/admin it is redirecting to the home page. I have disabled the .htaccess file and php.ini file. As you can see from ...
tekesteg's user avatar
  • 304
2 votes
1 answer
357 views

RestApi extension/plugin webservices to get/post data from ecommerce site to make moblie app

I want to create a mobile application native android/ios which take data from the ecommerce server like magento. opencart, joomla, drupal using Rest Service. Services like User: User ...
Ramesh Kumar's user avatar
  • 1,229
2 votes
1 answer
900 views

301 redirect for OpenCart (old url to new)

I am looking for a 301 redirect. I have a OC 1.5.1.3 (abc.com) and have a new store now on OC 2.0.3.1 (xyz.com ). I have migrated my data from abc.com to xyz.com and since all the product / pages urls ...
Prashant's user avatar
2 votes
1 answer
521 views

Opencart Admin how to add Tabs into a module

I've created a module, but the admin side has become a bit of a beast, in order to file it a bit better I'd like to separate it with tabs (please see attached picture of "General", "Data" and "Design")...
Davetoff's user avatar
2 votes
1 answer
70 views

Open cart edit checkout functionality

I am new to this Opencart. I want to add some functionality in my open cart site. I want to create a pdf file with some text and order number after the check out process. I know it's possible to edit ...
javelin Mark's user avatar
2 votes
2 answers
2k views

Very strange session issue with Opencart and PHP

I've posted this on Opencart forums however no one could probably figure out what the problem was. Running Opencart 1.5.6.4. PHP-5.4.42 If a user X is logged in on the website, if another user ...
ASG's user avatar
  • 31
2 votes
1 answer
358 views

How to store output in json variable and draw it on success?

I am using Opencart 2.0.2.0. Before that i was using Opencart 1.5.6.4. My code is as below, if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/...
Vidhyut Pandya's user avatar
2 votes
1 answer
491 views

Voucher email don't send automatically

When user buys voucher, they get the confirmation purchase email but the recipient don't get the email with the voucher code. I have to log in the Admin and click the send email button to send the ...
Warface's user avatar
  • 5,079
2 votes
2 answers
609 views

Pulling Opencart header to wordpress

I am trying to get opencart header to wordpress. Opencart is installed within wordpress directory within "store" folder. With some help, I am able to get opencart page into wordpress. The below code ...
Praveen's user avatar
  • 55
2 votes
2 answers
3k views

Opencart VQMod conflicts with OCMod

Error in vqmodManager: VQMod does not appear to be properly generating vqcache files! Cache files are not generated in vqcache folder. -> vqMod not working I´m using OC 2.0.1.1 and vqmod ...
m1crdy's user avatar
  • 1,401
2 votes
1 answer
287 views

opencart display "new" on latest products

I was wondering if it was at all possible for OpenCart to display a "new" flag/ribbon for the latest products? (on any page) I've been looking for this and I can't seem to find anything. Any help ...
SoulieBaby's user avatar
  • 5,445
2 votes
2 answers
2k views

get shipping cost separately for payment gateway in Opencart

I'm building a custom payment module which i need to pass the product prices (sub total), tax and the shipping cost separately so the gateway will create and email an invoice for the user. i managed ...
LiveEn's user avatar
  • 3,217
2 votes
1 answer
362 views

Adding links directly to downloads to order.tpl

I recently installed (fresh) OpenCart version 1.5.6.1. I have been following the advice given at this post: http://forum.opencart.com/viewtopic.php?t=11056 about how to add links directly to the ...
brl8's user avatar
  • 646
2 votes
1 answer
2k views

Implementing Manual Checkout API in OpenCart

I am currently working on a submit order API for OpenCart. The purpose of this API is not for the webpage part of OpenCart, but for our mobile app to interact with OpenCart. From my research, there ...
theGreenCabbage's user avatar
2 votes
1 answer
746 views

Issue on store credit of opencart 1.5.6

I want to create an order for a customer in the administration. The customer has certain credit (let's say $200). The order total is calculated like order total - customer's credit = new order total. ...
shyandsy's user avatar
2 votes
0 answers
217 views

AuthorizeNet module with BluePay

I have a business site where I use OpenCart and decide it was time to upgrade the payment system. I talked to BluePay before I purchased their service and they said they have a module for OpenCart. ...
th317erd's user avatar
  • 305
2 votes
1 answer
86 views

hide certain module in certain page

in search result page I want to exclude my custom module from showing. I want it to be displayed in home only. It seems the panel not have the option to do that. The quick hack would be display none ...
user3522457's user avatar
  • 2,915
2 votes
1 answer
292 views

Preventing the resolving of non existent paths in categories with htaccess

OpenCart store currently allows URL's to non existent locations to resolve and return a status 200 OK. For example:- http://www.domain.com/real-category This allows anything after this path to load ...
zigojacko's user avatar
  • 2,023
2 votes
1 answer
80 views

Opencart header and Footer Call in Codeigniter Site

I have a site in opencart on root and Codeigniter site in sub-directory. Is there any way to call Opencart Header and Footer in Codeigniter site. Thanks
user1577168's user avatar
2 votes
1 answer
2k views

Syntax error unexpected token error in Open cart 1.5.6

have done manual installation of opencart in hostfree server but when i start doing a demo checkout ,while clicking on viewcart it show "SyntaxError: Unexpected token< ok {"country_id":"222","name"....
Beginner's user avatar
2 votes
1 answer
129 views

Opencart Multishop keep logged in

Today i found out that with a multishop in Opencart, it isn't possible to navigate from shop to shop without logging out. This is because we change domain when going trough the shops. Is there a way ...
Dimitry Volker's user avatar
2 votes
2 answers
1k views

OpenCart: Paypal Session Time-Out

I am using the standard paypal payment method with my opencart website. When I go through the checkout process and get redirected to the PayPal website, I get to login and choose my payment source on ...
sevan secan's user avatar
2 votes
1 answer
2k views

What is the most efficient way to override Bootstrap css?

I'm using Opencart for a E-Commerce site for my company. The Opencart developer is working on V2.0 which will incorporate Bootstrap as the default styling. My plan was to put a link in my header ...
DS-Matt's user avatar
  • 95
2 votes
1 answer
1k views

Opencart Category Custom Icon

I need to show a custom graphic icon to display on opencart category pages at the side of each thumbnail. Can I use one of Opencart's existing product attributes to get this to display in categories? ...
user2191937's user avatar
2 votes
1 answer
1k views

Custom Shipping Dropdown Box In Opencart 1.5

I have been trying to add a drop down box of my own Shipping Methods that I will handle on my own later after the order is placed. I have modified the flat rate php to create this. I am querying a ...
user1964485's user avatar
2 votes
1 answer
4k views

Vqmod not displayed into the admin panel In Opencart

I have Installed the Open cart Version 1.5.2.1, Every thing is working fine and I have Installed the Vqmod module in it. It is installed correctly and overwrites the index.php as well as the admin/...
Pawan_oCodewire's user avatar
2 votes
1 answer
3k views

Remove price in option box in Opencart

Hi i am in new in opencart. I have code in product.tpl. i want remove the "price" in the option box selection.... If i remove the "price" in option box, it affect in price calculation i.e., ...
Shakthifuture's user avatar
2 votes
1 answer
209 views

Create a category based Subnav in opencart

Heres what I am trying to do in Opencart I need to create a subnav based of only a few specific categories. So what I think I need to do is replicate the way in which opencart handles the top nave ...
builtbymonkey's user avatar
2 votes
1 answer
672 views

OpenCart category product view modification

How could I change the category product list view in Opencart to 6 product box slider? By pushing the next button I could go to next six items and so on.
Ilya's user avatar
  • 21
2 votes
1 answer
3k views

Webservice in opencart

I'm trying to make nusoap webservice in opencart . For that I have download nusoap library and copied it into system/library/lib, then I have created a controller class in checkout module like this ...
Ullas Prabhakar's user avatar

1
2
3 4 5
46