You are making this way too complicated ...
You need no code changes to do this, you just need to install the correct shipping modules and have the correct settings on your Products ...
You do not need to mark all Products as Always Free Shipping ... This is causing issues ...
Always Free Shipping is designed to make FREE SHIPPING freeshipper the only shipping that shows ...
If your Products were NOT marked as Always Free Shipping, then you would just install the two shipping modules:
Free Shipping Options freeoptions with the Total set to >= 0.00
Store Pick Up
And now, Store Pick Up would ALWAYS show and the Free Shipping Option freeoptions would only show on orders >= 50.00 ...
All other shipping modules should be removed by clicking on them and clicking REMOVE so that they are not installed ...
To change your Products from Always Free Shipping YES to Always Free Shipping NO you can run the SQL command in the Tools ... Install SQL Patches for:
Code:
UPDATE products SET product_is_always_free_shipping=0;
Before doing these changes, it is always a good idea to backup your database first ...
Bookmarks