Search found 102 matches

Search found 102 matches

Disable automatic stock replenishment after refund

Opencart 2.3.0.2

I would like to disable automatic stock replenishment after a refund but can't see any in-built option to do this.

I figure if I can find the correct PHP file then I can just comment out the update query. Can someone please point me in the right direction?

Thanks

Jump to post
  • Mon Jan 28, 2019 6:25 pm
  • Replies 0
  • Views 146
Re: Received thousands of return requests against order 1

Oh don't worry, it's all backed up every other day. :)

I have setup the Captcha already and am investigating crawl protect as we speak.

Jump to post
  • Fri Jan 25, 2019 6:35 pm
  • Replies 8
  • Views 275
Re: Received thousands of return requests against order 1

To follow up on the above, I've just been looking at some of the return requests and one has a model number of "-1' OR 2+163-163-1=0+0+0+1 -- " there's also another with "-1' OR 2+858-858-1=0+0+0+1 or 'UcvXzCfk'='" Clearly this was an SQL injection attack which I assume OpenCart is designed not to a...

Jump to post
  • Fri Jan 25, 2019 5:33 pm
  • Replies 8
  • Views 275
Received thousands of return requests against order 1

Last night we received 2025 return requests against order number 1. These are not genuine and the name and email used in each one where just random strings and sample@email.tst. The telephone number was listed as 1 waitfor delay '0:0:111' -- - which suggests some sort of hack attempt. Obviously I ca...

Jump to post
  • Fri Jan 25, 2019 5:31 pm
  • Replies 8
  • Views 275
Re: Force customer's quantity to increment by X amount

Yeah, that's another extension that allows customer to setup notification for when out of stock products are in stock again. Any advice on how I can get the two working together? Thanks for your help by the way.

Jump to post
  • Thu Jan 10, 2019 5:31 pm
  • Replies 10
  • Views 252
Re: Force customer's quantity to increment by X amount

I just redownloaded it and tried it again (2.3.0.2) and still get the same error message. SyntaxError: Unexpected token < in JSON at position 0 OK <b>Warning</b>: Invalid argument supplied for foreach() in public_html/vqmod/vqcache/vq2-system_library_cart_cart.php on line 50 Notice: Undefined index:...

Jump to post
  • Thu Jan 10, 2019 4:56 pm
  • Replies 10
  • Views 252
Force customer's quantity to increment by X amount

Our Opencart store is linked to our local stock database so that when an order is placed the stock is deducted from both systems simultaneously. We have a product in our local database with a denomination of metres. However, we wish to sell it online by the roll (20/50m). How can I limit the custome...

Jump to post
  • Thu Jan 10, 2019 4:28 pm
  • Replies 10
  • Views 252
Re: [vQmod] - Forced Min Quantity Stepping (1.5.x/2.x)

Hey Qphoria, I don't know if you're still developing this but having had it work great for months, we now receive the following error when adding a quantity to the basket. Opencart 2.3.0.2 SyntaxError: Unexpected token < in JSON at position 0 OK Notice: Undefined index: option in vq2-system_storage_...

Jump to post
  • Thu Nov 29, 2018 4:40 pm
  • Replies 25
  • Views 18011
Re: Disable shipping options on certain days

OK, this was a pretty simple fix in the end and here's what I did. My postage methods are all weight-based shipping options. Each shipping method is its own Geo Zone so I can determine which regions accept which shipping method. The file you need to modify is: catalog/model/extension/shipping/weight...

Jump to post
  • Tue May 22, 2018 6:07 pm
  • Replies 1
  • Views 619
[SOLVED] Disable shipping options on certain days

I've added a shipping method called Saturday Delivery, which as the name suggests, allows customers to pay a premium to have goods delivered on a Saturday. What's the easiest way to only show this shipping method on a Friday? I'm guessing a simple VQMOD to look at the current day and if t's a Friday...

Jump to post
  • Tue May 22, 2018 5:35 pm
  • Replies 1
  • Views 619
Re: Recovering from a Malware attack

We are already supposed to be on a VPS so I'm thinking more likely to be the former than the latter. :)

Jump to post
  • Wed Apr 25, 2018 3:59 am
  • Replies 2
  • Views 236
Recovering from a Malware attack

Today our Opencart webshop 2.3.0.2 was infected with some form of Malware. Basically every time you loaded the site a fake Google popup would appear claiming that your version of Chrome or Internet Explorer was out-of-date and if you clicked the update button it took you to a random website and atte...

Jump to post
  • Tue Apr 24, 2018 10:29 pm
  • Replies 2
  • Views 236
Re: Host appears to have moved file locations and now config files don't work.

I saw that thread but I think you've misunderstood the poster.

pmahomme is a skin for PHPMYADMIN and not an Opencart shop skin and I think that's where you lost the previous poster.

Jump to post
  • Thu Mar 22, 2018 1:50 am
  • Replies 28
  • Views 1322
Re: Host appears to have moved file locations and now config files don't work.

OK so the site is 'working', but the template is a bit broken, but I think I can fix that, but I can't get in to the admin just yet. Notice: Error: Could not load config default! in /home/linweb37/c/MASKED.com-1096756477/user/htdocs/store/system/library/config.php on line 27 I've checked the config ...

Jump to post
  • Wed Mar 21, 2018 11:26 pm
  • Replies 28
  • Views 1322
Re: Host appears to have moved file locations and now config files don't work.

I think I've just about managed to upgrade the cart to 2.3.0.2. There were a few errors along the way - files and folders not uploading - permissions not properly set - old files from 1.5.1 causing issues but the store appears to be kind of loading. I suspect the template needs reconfiguring now we'...

Jump to post
  • Wed Mar 21, 2018 9:48 pm
  • Replies 28
  • Views 1322

Search found 102 matches