Search found 18 matches

Page 1 of 1

Search found 18 matches

Re: Problem with Total price on cart page

Ok, please, pm. I would be happy to solve this.

Jump to post
  • Sat Oct 14, 2017 8:55 pm
  • Replies 14
  • Views 3982
Re: Problem with Total price on cart page

That's great!

Ok, I think, in Copona we use little bit different calculations and my cart was calculating correctly, but I will check.
For Opencart - I have updated the answer with // CHANGE 2:, so - try that one together with previous fix.

Post a feedback.

Jump to post
  • Fri Oct 13, 2017 5:24 pm
  • Replies 14
  • Views 3982
Re: Problem with Total price on cart page

UPDATED! 2017-10-18 with //CHANGE 3 Hi! Check out this solution: https://github.com/copona/copona/commit/8f0500193c5e2173ba4e5c0e1e37cb4a50637b2b#commitcomment-24944535 In file: system\library\cart\tax.php // CHANGE 1: // find line (~line 74): return $value + $amount; // replace with return round($v...

Jump to post
  • Fri Oct 13, 2017 7:44 am
  • Replies 14
  • Views 3982
Re: [v3.0.2.0 - Concept] - Die command

Is it bad?
e..g `header("Location: ...");` _must_ also have `exit;` or `die();` control at the end.

`$this->response->setOutput(json_encode($json));` on the other hand, already sends output and `die()` there seems to be no use.

Jump to post
  • Thu Oct 05, 2017 7:54 am
  • Replies 2
  • Views 2144
Re: [RESOLVED] check if table exists without errors

Try this one: $result = $this->db->query("SHOW TABLES LIKE '" . DB_PREFIX . "mytablename'"); if((boolean)$result->num_rows) { // this means - Table with that name - does not exists: // ... } from: http://stackoverflow.com/a/9008326/1720476 http://stackoverflow.com/a/25206039/1720...

Jump to post
  • Tue Sep 27, 2016 6:16 am
  • Replies 1
  • Views 2125
Re: HTTP_IMAGE removed in 1.5.5 why?

There is one more thing left unclear: HTTP_IMAGE has been left in cli_install.php file.

https://github.com/opencart/opencart/issues/3346

But it seems, that Opencart does not use this variable, so it is not possible to use any domain alias as image link for Opencart out-of-the-box?

Jump to post
  • Tue Sep 15, 2015 6:02 pm
  • Replies 9
  • Views 4128
Re: Not able to install modification on Extension installer

I had the same error notification: "Modification requires a unique ID code". Then I checked my .xml file - and it had old VQmod style 'header lines', I replaced them with these .xml tags: <?xml version="1.0" encoding="utf-8"?> <modification> <name>DebugDevelopment</name...

Jump to post
  • Sun Dec 14, 2014 11:34 pm
  • Replies 2
  • Views 929
Developer guidebook for migration from 1.5.x to 2.0

Hi! I have done a quick search but did not find any specification, what are the main differences between Opencart 1.5.x and Opencart 2.x, except "Responsive desing, new frontend and new backend etc."? E.g. - I need to migrate a bunch of modules, and custom controllers for my site. I know, ...

Jump to post
  • Sun Dec 14, 2014 10:53 pm
  • Replies 1
  • Views 453
Re: Removing white space from <img> tag

Most probably, You have margin or padding defined in for

Code: Select all

<div id="content">
Search Your stylesheet.css (or corresponding css file for Your Theme) for

Code: Select all

#content
or use Chrome "Inspect element", to identify object which causes whitespace.

Jump to post
  • Wed Aug 06, 2014 7:27 pm
  • Replies 3
  • Views 895
Custom mysql port

Hi! If I am migrating Opencart to new hosting, which is using custom mysql port for connections, where I can configure custom port for version, 1.5.6.4? I have found few forum posts for older versions, which does not work for 1.5.6.4 Also, there are no way to configure custom MySQL port during Openc...

Jump to post
  • Wed Aug 06, 2014 6:23 pm
  • Replies 0
  • Views 256
Re: Understanding GNL Public License with Opencart

I have read the entire discussion and I still have some doubts: what I want to do is to get the latest opencart version and create my own product by modifying it and adding my code, my personalizations, my logo, some free extentions to it and so on. The new product still remains in GPL licence but:...

Jump to post
  • Wed Jun 04, 2014 5:02 am
  • Replies 38
  • Views 17852
Re: Disable English tab , category and products

Hi guys! I did use a dirty hack: 1) copy current /admin/language/english folder to Your local folder name :) e.g. "latvian" 1a) change /admin/language/latvian/english.php name to latvian.php 1b) change value in this new file to Your local "code" $_['code'] = 'lv'; 2) and then - s...

Jump to post
  • Thu Jan 23, 2014 12:12 am
  • Replies 4
  • Views 16264
Re: [1.5.0.5] Performance

Try to replace

Code: Select all

p.date_available<=NOW()
with

Code: Select all

p.date_available<='".date("Y-m-d")."'
This really helped for me!

http://forum.opencart.com/viewtopic.php?f=20&t=118051

Jump to post
  • Mon Jan 20, 2014 12:48 pm
  • Replies 28
  • Views 8608
Count product totals performance problem

Hi guys! I have discovered very slow mysql query performance for model_catalog_product->getTotalProducts() I have a store with ~2000 products, with 111 categories. After all products were imported, store started to work really slow. I has a lot of categories and products on the first page, and in th...

Jump to post
  • Sun Jan 19, 2014 11:27 pm
  • Replies 5
  • Views 2959
Re: [MOD] Default Tax class

Great, simple module!

I did a quick fix for my Opencart 1.5.5.1
in module .xml file,

change line 11 to

Code: Select all

$this->template = 'setting/setting.tpl'
and line 44 to

Code: Select all

<div id="tab-option">
Works for version 1.5.5.1, but please - test it! :)

Jump to post
  • Sun Mar 10, 2013 7:24 am
  • Replies 30
  • Views 23912
Re: [MOD] Default Tax class

Great, great, great module (default tax)! Thank You!

Jump to post
  • Fri Oct 26, 2012 4:51 pm
  • Replies 30
  • Views 23912
Localized SEO links

I have started to use Opencart and it looks like very powerfull and easily customisable system. But as it is with lot of them: Localisation is quite poorly documented and I am not sure - how powerful it is at all. I have two questions about Opencart localization 1) Is it possible to create localized...

Jump to post
  • Mon Aug 27, 2012 11:36 pm
  • Replies 1
  • Views 328

Page 1 of 1

Search found 18 matches