Search found 1558 matches

Search found 1558 matches

Re: script PHP to opencart .twig

Some code for you to play with: <modification> <name>PprMkr - Opened or Closed</name> <code>PprMkr_Opened_Closed</code> <version><![CDATA[3.0.3.2]]></version> <author>Roelie @ PprMkr</author> <email>opencart@pprmkr.nl</email> <file path="catalog/controller/product/category.php"> <operation> <search>...

Jump to post
  • Thu Jul 04, 2019 3:25 pm
  • Replies 7
  • Views 228
Re: Error after fresh install on one.com

One.com dows not allow folders outside /httpd.www/ Automatic relocating storage folder is not possible. Use Manual method. Edit both /config.php and admin/config.php and change: define('DIR_STORAGE', DIR_SYSTEM . 'storage/'); Into: define('DIR_STORAGE', '/customers/f/2/d/skadehjelpen.no/httpd.www/_p...

Jump to post
  • Thu Jun 13, 2019 2:20 pm
  • Replies 4
  • Views 325
Re: It doesn't work, in mobile version, to move the price and add to cart button above product description. Why???

Edit product.tpl and add before <?php echo $footer; ?> <script type="text/javascript"><!-- function moveCart(){ if($(window).width() < 768 ){ $('#content > .row > .col-sm-4').removeClass('col-sm-4').addClass('moved-div'); $('.moved-div').insertAfter('.thumbnails'); } else { if($('.moved-div').length...

Jump to post
  • Tue May 28, 2019 3:31 pm
  • Replies 8
  • Views 299
Re: Unable to use website had designed 5 years ago

whallwendy wrote:
Fri May 17, 2019 5:56 am
Can anyone help as to which part of the website will have been infected to open up all of these other sites.

Any help would be appreciated.
I sent email ...

Jump to post
  • Wed May 22, 2019 3:10 pm
  • Replies 4
  • Views 245
Re: Post NL voor OpenCart 2.3

Journal2 is geen gratis opensource pakket.
Aankloppen bij de uitgever van Journal2 lijkt me ...

Jump to post
  • Tue May 21, 2019 7:18 pm
  • Replies 31
  • Views 7406
Re: Post NL voor OpenCart 2.3

De journal2 methode is niet waterdicht ben ik bang. Ik heb jouw winkelwagentje geprobeerd met verschillende inhoud en producten verwijderd totdat de verzendmethode van pakket naar brief ging. Het gedeelte wat de getoonde inhoud moet tonen is zelfs na een aparte aanroep in de browser niet bijgewerkt....

Jump to post
  • Tue May 21, 2019 6:59 pm
  • Replies 31
  • Views 7406
Re: Cookie wetgeving balkje!

Met de overgang naar versie 3 zijn er zoveel fouten geïntroduceerd, dat ik heb besloten hier niet mee verder te gaan.
Zelfs de laatste 3.1 is nog niet als stabiele versie in te zetten.

Blijf bij 2.3.0.2 is mijn advies.

Jump to post
  • Sat Apr 27, 2019 2:29 pm
  • Replies 41
  • Views 7418
Re: Euroteken weglaten op product paginas in 2.3.0.2

Dit kan, maar vergt enige aanpassingen. Eerst in system/library/cart.php een extra variabele op regel 24: public function format($number, $currency, $value = '', $format = true, $symbol = true) { En een test op $symbol toevoegen op regels 43 en 49 : if ($symbol_left && $symbol) { if ($symbol_right &...

Jump to post
  • Fri Apr 26, 2019 5:48 pm
  • Replies 2
  • Views 176
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 269
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 245
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 31
  • Views 7406
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 330
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 1791
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 1791
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 264
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 897
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 600
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 615

Search found 1558 matches