Change Default Add Table rate rules
-
First, I would like to say thank you very much for this shipping table, it’s very easy to use and it works great! 5/5 Stars!
I was wondering if there was a way I could make it so when I add and new table rate it would cycle through default min max rates.
Example: You click on Add Table Rate it then inserts a new table with the min set at 0, max at 15.
The next time you click on Add Table rate it inserts a new table with the min set at 15.01 and the max at 25.
Once you’re at your end of the min max list it would start back over at the 0 min, max at 15. rate.This would be very helpful for me as I have thousands of entries to do. I currently have over 1000 entries as it is. – Note to other users that are reading this if you have an error that your php_value max_input_vars limit is reached. change your .htaccess file to
<ifmodule mod_rewrite.c> RewriteEngine On php_value max_input_vars 35000 </ifmodule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/wordpress/index.php [L] </IfModule> # END WordPress
This will allow you to have more table rates, and your code in your .htaccess will not reset on saved settings in wordpress.
And as always backup your files before you make changes incase something goes wrong.
-demented_circus_monkey
https://www.ads-software.com/plugins/table-rate-shipping-for-woocommerce/
- The topic ‘Change Default Add Table rate rules’ is closed to new replies.