Search found 1551 matches

Search found 1551 matches

Re: Removing 'empty' columns

... I removed the filters from my product page (since I only have a few items) but there is still this huge empty space that I can't quite get rid of. ... First check if any modules are installed on layout Category. ( Design - Layout ) Then check that module for content. Seems that an empty module ...

Jump to post
  • Fri Apr 12, 2019 4:53 pm
  • Replies 9
  • Views 240
Re: Adding javascript calculator to a single page

- Create a new Extension / Module : FuelCalculator - Add new layout: FuelCalculator - Add module FuelCalculator to layout FuelCalculator - Select Layout Override : FuelCalculator for the Information page, Product or Category you want to show FuelCalculator on ... Attached is example for OC 2.3.0.2 (...

Jump to post
  • Thu Apr 11, 2019 3:23 pm
  • Replies 6
  • Views 189
Re: Post NL voor OpenCart 2.3

In het bestand catalog/model/extension/shipping/postnl_boxing.class.php is een fout geslopen: public function contruct__() { Dat moet natuurlijk zijn: public function construct__() { Door deze fout worden de beide tabellen outer_boxes en inner_box niet gedeclareerd, wat foutmeldingen tot gevolg kan ...

Jump to post
  • Mon Feb 18, 2019 7:41 pm
  • Replies 19
  • Views 6354
Re: Adapting the Free 'Reward Points' extension by E-Intelligence...

$query = $this->db->query("SELECT COUNT(*) AS total FROM " . DB_PREFIX . "customer_reward WHERE customer_id = '" . (int)$this->customer->getId() . "' AND description = '" . $this->db->escape($this->language->get('text_review')) . "'"); if($query->row['total'] < 1) { $this->db->query("INSERT INTO " ...

Jump to post
  • Thu Feb 14, 2019 7:41 pm
  • Replies 2
  • Views 292
Re: Opencart 2.3 grab values from DB via ajax.

Script in tpl: var datestart = $('input[name=\'datestart\']').val(); var dateend = $('input[name=\'dateend\']').val(); $.ajax({ url: 'index.php?route=extension/module/massSpecialPrices/search&token=<?php echo $_GET["token"] ?>&datestart=' + this.value+'&dateend=' + this.value, Change into: var dates...

Jump to post
  • Sat Feb 09, 2019 11:53 pm
  • Replies 8
  • Views 1630
Re: Opencart 2.3 grab values from DB via ajax.

<?php class ModelExtensionModuleMassSpecialPrices extends Model { public function getProductSpecials($data) { $sql = "SELECT * FROM " . DB_PREFIX ."product_special"; if (!empty($data['datestart']) || !empty($data['dateend'])) { $sql .= " WHERE product_id > '0'"; if (!empty($data['datestart'])) { $s...

Jump to post
  • Fri Feb 08, 2019 7:52 pm
  • Replies 8
  • Views 1630
Re: Implementing code into a single product

Diving into OpenCart is the only way to learn the differences between the versions. Compare code and change the lines and add some text and variabeles. Most work will go into the template files / code, from php to twig. A few examples of changes: $this->language->load('product/product'); -> $this->l...

Jump to post
  • Wed Jan 16, 2019 4:13 pm
  • Replies 4
  • Views 242
Re: php 5.6 upgrade issues

Edit config.php and change from mysql to mysqli I have read through the forums and found a solution to change mysql to mysqli in the config.php files. After doing this, I receive the following error: Wich version are you using? An } else { on line 54 sounds like an altered file ! Copy system/databa...

Jump to post
  • Fri Jan 11, 2019 3:55 pm
  • Replies 4
  • Views 740
Re: OC 2.3.0.2 bij transip?

Pak de system/library/encryption.php van versie 3.* <?php /** * @package OpenCart * @author Daniel Kerr * @copyright Copyright (c) 2005 - 2017, OpenCart, Ltd. (https://www.opencart.com/) * @license https://opensource.org/licenses/GPL-3.0 * @link https://www.opencart.com */ /** * Encryption class */ ...

Jump to post
  • Thu Nov 29, 2018 4:03 pm
  • Replies 4
  • Views 458
Re: Sintax is correct? Php to Twig

PHP: $rthumb = array(); $rthumb[] = array( 'id' => 1, 'flipimage' => 'image1.jpg' ); $rthumb[] = array( 'id' => 2, 'flipimage' => 'image2.jpg' ); $rthumb[] = array( 'id' => 3, 'flipimage' => 'image3.jpg' ); $rthumb[] = array( 'id' => 4, 'flipimage' => 'image4.jpg' ); $flip = ''; foreach ($rthumb as ...

Jump to post
  • Wed Nov 21, 2018 6:50 pm
  • Replies 4
  • Views 501
Re: Webstore Not Accessible

- Download latest 1.5.6 archive here.
- Download vQmod here
- Overwrite damaged files or copy missing files.

Jump to post
  • Tue Nov 20, 2018 11:18 pm
  • Replies 7
  • Views 406
Re: Commercial help wanted for admin install prob (twig fatal error)

Double check admin/config.php !!
Solution alrready given : viewtopic.php?f=202&t=208101&p=739346

Path to templates wrong in config !!

Jump to post
  • Thu Nov 08, 2018 3:35 pm
  • Replies 4
  • Views 278
Re: Code for Google Ad conversion tracking - code good?

Remove:

Code: Select all

	transaction ID = {{ transaction_id }}
	cart Total = {{ cart_total }}
Strange syntax with spaces ?

Jump to post
  • Fri Nov 02, 2018 6:07 pm
  • Replies 18
  • Views 1008
Re: Block duplicate mobile numbers

Hi, I'm using oc3.0.2.0 can we block registrations with the mobile numbers that are already registered with us. So that we can protect the misuse of offers. In catalog/model/account/customer.php add new function: public function getTotalCustomersByTelephone($telephone) { $query = $this->db->query("...

Jump to post
  • Fri Nov 02, 2018 4:13 pm
  • Replies 3
  • Views 236
Re: My Site is dead... please help

We backed up the entire HTDOCS folder to a local server... they carried out the upgrade, and we migrated the contents of the HTDOCS folder back to the new platform. Now when I try to access the website we get...BLANK...nada, nothing at all. Nothing in the error logs, nothing on the screen. Your sit...

Jump to post
  • Fri Oct 26, 2018 7:52 pm
  • Replies 2
  • Views 149
Re: How to disable session or cookie for language & currency?

My problem is that my main page is onepage with only link to several stores in different languages ... The solution for 3.x is discussed is in this forum topic: /viewtopic.php?p=705164#p705194 which does not work on OC 2.3.0.2. I did not find any working solution for this. Maybe will help if make o...

Jump to post
  • Thu Oct 11, 2018 2:59 pm
  • Replies 3
  • Views 409
Re: eindelijk update, backend OK, front errors (theme?)

Controleer config.php op de ingevulde waarde voor 'DIR_STORAGE' en 'DIR_CACHE'

Voorbeeld van oude definitie :

Code: Select all

define('DIR_CACHE', 'D:\xampp\htdocs\oc1496/system/cache/'); 
Voor 3.0.2:

Code: Select all

define('DIR_STORAGE', 'D:/xampp/storage/');

define('DIR_CACHE', DIR_STORAGE . 'cache/'); 

Jump to post
  • Wed Oct 03, 2018 2:42 pm
  • Replies 2
  • Views 422
Re: Theme aanpassen

Gebruik Firefox en klik dan rechts op het onderdeel en kies voor "Element inspecteren" Dan zie je links welke html elementen er gebruikt zijn en rechts zie je de opmaak daarvan. Als bijvoorbeeld voor product naam geen andere opmaak te vinden is, maak er dan een voor: .product-thumb h4 a { color: dar...

Jump to post
  • Sun Sep 30, 2018 4:13 pm
  • Replies 5
  • Views 295

Search found 1551 matches