Post by f1br3opt1c » Thu Oct 31, 2019 2:31 pm

pprmkr wrote:
Wed Oct 30, 2019 8:51 pm
Yes.
Copy attached file to /system/ and refresh modifications or use Extension - Installer

Note 1: tested on OC 2.3.0.2
Note 2: Change values for minimum on lines 12 and 41 :

Code: Select all

if ($qry->row['quantity'] < 4) {
 
 if ($option_gry->row['quantity'] < 2) { 
 
You da man!! Thank you so much. People like you should receive abundant blessings on a daily basis :D

New member

Posts

Joined
Fri May 24, 2013 5:36 pm

Post by abdullahTR » Wed Dec 06, 2023 8:53 pm

pprmkr wrote:
Wed Oct 30, 2019 8:51 pm
Yes.
Copy attached file to /system/ and refresh modifications or use Extension - Installer

Note 1: tested on OC 2.3.0.2
Note 2: Change values for minimum on lines 12 and 41 :

Code: Select all

if ($qry->row['quantity'] < 4) {
 
 if ($option_gry->row['quantity'] < 2) { 
 
After clicking the order button in opencart v3.0.3.2, it gives a warning in the form of json alert and the order is not reflected in the system.

New member

Posts

Joined
Tue May 12, 2020 8:44 pm

Post by Cue4cheap » Wed Dec 06, 2023 10:24 pm

abdullahTR wrote:
Wed Dec 06, 2023 8:53 pm
pprmkr wrote:
Wed Oct 30, 2019 8:51 pm
Yes.
Copy attached file to /system/ and refresh modifications or use Extension - Installer

Note 1: tested on OC 2.3.0.2
Note 2: Change values for minimum on lines 12 and 41 :

Code: Select all

if ($qry->row['quantity'] < 4) {
 
 if ($option_gry->row['quantity'] < 2) { 
 
After clicking the order button in opencart v3.0.3.2, it gives a warning in the form of json alert and the order is not reflected in the system.
Well this looks like it was for up to 2.3.0.2. Might not work on 3.x without modification.
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am
Who is online

Users browsing this forum: No registered users and 27 guests