File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ or replace the standard confirm box with something more ambitious, such as a jqu
34
34
dialog. You can target specific forms with different settings if you wish.
35
35
36
36
The server limit (1000 in this case) needs to be passed into the script above. This can
37
- be found with a simple function like this:
37
+ be found with a simple PHP function like this:
38
38
39
39
/**
40
40
* Get the submission limit.
@@ -66,3 +66,7 @@ That runs on the server and provides the server settings to insert into the Java
66
66
initialisation, and will return 1000 by default on most PHP servers.
67
67
68
68
A simnple demo (index.php in this project) is running here: [ http://www.acadweb.co.uk/maxsubmit/ ]
69
+
70
+ The jQuery plugin and the PHP function are the two building blocks. I intend to wrap them into a
71
+ simple WordPress plugin next. Just install it along with your WooCommerce plugin, and it will stop
72
+ you breaking your products with dozens of variations. Christmas may get in the way first ;-)
You can’t perform that action at this time.
0 commit comments