Search found 87 matches

Search found 87 matches

Re: IF 1 in stock

Last sentence of the first post....... :laugh: Opencart 2.3.0.2

Jump to post
  • Wed Dec 06, 2017 11:02 pm
  • Replies 4
  • Views 461
IF 1 in stock

Hi guys Just trying to show a message if there's one item left in stock, I've tried... <?php if($text_stock = '1') { ?>HELLO<?php ; } else { ?><?php } ?> As well as <?php if($text_stock <= '2') { ?>HELLO<?php ; } else { ?><?php } ?> And neither seem to work. I'm putting this in product.tpl. Any idea...

Jump to post
  • Wed Dec 06, 2017 10:40 pm
  • Replies 4
  • Views 461
PayPal Communication Query

Hi Just a quick question. Opencart 2.3.0.2 PayPal modules in general. Once the initial payment has been taken with PayPal does PayPal have any further interaction with Opencart? My query is this... I refunded partial order via PayPal a few weeks after. It's come back up in Opencart as a refunded ord...

Jump to post
  • Wed Dec 06, 2017 6:04 pm
  • Replies 1
  • Views 582
Image Compression

If I upload compressed original images to OpenCart... their cache of each image, would that also be a compressed version or is that back to normal where it needs to be compressed?

Jump to post
  • Tue Dec 05, 2017 9:01 pm
  • Replies 1
  • Views 398
Re: connection errors

[04-Dec-2017 23:33:43 UTC] PHP Warning: Error while sending QUERY packet. PID=28608 in /home/xxx/public_html/system/library/db/mysqli.php on line 18 [04-Dec-2017 23:33:43 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SE...

Jump to post
  • Tue Dec 05, 2017 7:41 am
  • Replies 2
  • Views 601
Re: connection errors

2017-12-04 23:24:20 - PHP Warning: Header may not contain NUL bytes in /home/xxx/public_html/system/storage/modification/system/library/response.php on line 12 now receiving this error, where this is line 12 public function redirect($url, $status = 302) { [b]header('Location: ' . str_replace(array(...

Jump to post
  • Tue Dec 05, 2017 7:31 am
  • Replies 2
  • Views 601
connection errors

Stack trace: #0 /home/xxx/public_html/system/library/db.php(9): DB\MySQLi->__construct('localhost', 'xxx', 'xxx', 'xxx, '3306') #1 /home/xxx/public_html/vqmod/vqcache/vq2-system_framework.php(147): DB->__construct('mysqli', 'localhost', 'xxx', 'xxx', 'mxxx', '3306') #2 /home/xxx/public_html/vqmod/v...

Jump to post
  • Tue Dec 05, 2017 6:47 am
  • Replies 2
  • Views 601
PayPal Pro Iframe

Not sure if it's just me with these problems with this module :laugh: Tried reusing today as PayPal are forcing PCI compliance upon me! Anyway, using 2.3.0.2. I'm using a one page checkout extension. Stack trace: #0 /home/xxx/public_html/system/library/db.php(16): DB\MySQLi->query('INSERT INTO `oc.....

Jump to post
  • Thu Nov 30, 2017 11:17 pm
  • Replies 1
  • Views 482
Re: Editing HTML on payment page

Sorry

OC v 2.3.0.2

Objective, to insert JS into that particular input option so when clicked it hides elements on screen, that part I can handle, I just unsure on how to specify that particular input payment

Jump to post
  • Wed Nov 29, 2017 10:33 pm
  • Replies 3
  • Views 533
Editing HTML on payment page

Ok bare with me :). I want to add HTML to a specific input button on the payment page. <?php foreach ($payment_methods as $payment_method) { ?> <div class="radio"> <label> <?php if ($payment_method['code'] == $code || !$code) { ?> <?php $code = $payment_method['code']; ?> <input type="radio" name="p...

Jump to post
  • Wed Nov 29, 2017 9:24 pm
  • Replies 3
  • Views 533
Editing a payment option HTML

Ok bare with me :). I want to add HTML to a specific input button on the payment page. <?php foreach ($payment_methods as $payment_method) { ?> <div class="radio"> <label> <?php if ($payment_method['code'] == $code || !$code) { ?> <?php $code = $payment_method['code']; ?> <input type="radio" name="p...

Jump to post
  • Wed Nov 29, 2017 7:55 pm
  • Replies 1
  • Views 400
PayPal Pro iFrame Problems

Hi I'm using 2.3.0.2 trying to install PayPal Pro iFrame module however having difficulty. I'm using a one page checkout on my store and I get this error when trying to process.... Unable to process payment. Please contact the merchant as the postal address provided by the merchant is invalid, and t...

Jump to post
  • Tue Nov 28, 2017 11:44 pm
  • Replies 1
  • Views 482
Re: How To Add Multiple Free Shipping For More Then One Zone

Would I have to alter

Code: Select all

if (isset($this->request->post['free_status'])) {
			$data['free_status'] = $this->request->post['free_status'];
		} else {
			$data['free_status'] = $this->config->get('free_status');
		}
to something like "free_status2" and so on?

Jump to post
  • Fri Nov 24, 2017 10:11 pm
  • Replies 8
  • Views 1353
Re: How To Add Multiple Free Shipping For More Then One Zone

Sorry to jump in on this :) I've duplicated the free shipping module... changed class names and changed where the new ones are located. The module says it is disabled on the shipping screen, but when I click into it, It says its disabled. Apart from the class name and location of the new free shippi...

Jump to post
  • Fri Nov 24, 2017 10:07 pm
  • Replies 8
  • Views 1353
Cookie set for main site only

Hi

How can i set 2.3.0.2 so that only the main site www. uses cookies and not a specified sub-domain?

Jump to post
  • Thu Nov 09, 2017 6:08 am
  • Replies 2
  • Views 433
Re: Continual PayPal problems

Notice: Undefined index: code in /home/melodyjane/public_html/catalog/controller/extension/payment/pp_payflow_iframe.php on line 37 Notice: Undefined index: code in /home/melodyjane/public_html/catalog/controller/extension/payment/pp_payflow_iframe.php on line 46 37 - 'BILLTOSTATE' => $payment_zone[...

Jump to post
  • Tue Nov 07, 2017 6:20 pm
  • Replies 7
  • Views 1134
Coupon Codes Not being Logged in Admin

Hi guys Opencart 2.3.0.2 Anybody else had trouble with this... coupon code usages aren't being logged in the admin side. Some do, some won't. For instance, I have a coupon in front of me, checking its history out, and it shows it's never been used. However in another tab, I have an order up where th...

Jump to post
  • Tue Oct 31, 2017 11:53 pm
  • Replies 2
  • Views 1120
Product Images

Hello

I believe I have duplicate image folders from v1.5 and v2

For version 2 of Opencart what is the default image directory for products, is it image/data or image/catalog?

New product images seem to be uploaded to image/data

Jump to post
  • Tue Oct 31, 2017 6:27 pm
  • Replies 1
  • Views 121
Re: Image Folders

Hello
Thanks for that... however it doesn't answer my question, at all.

Jump to post
  • Tue Oct 31, 2017 6:00 pm
  • Replies 4
  • Views 265

Search found 87 matches