DISCLAIMER:I have not tested your logic or my solution but, if I understand your question, you are simply changing a variable value.
I did a simple search on the variable value 'Store Pickup' and found it at: /store/includes/languages/english/modules/shipping/storepickup.php
At about line #22 I fount the TITLE_TEXT: You need to change the value of the TITLE_TEXT variable from 'Store Pickup' to 'Free Local Delivery'
HTML Code:
define('MODULE_SHIPPING_STOREPICKUP_TEXT_TITLE', 'Store Pickup');
At about line #124 change the value from 'Enable Store Pickup Shipping' to 'Enable Free Local Delivery' and change the value 'Do you want to offer In Store rate shipping?' to 'Do you want to offer Free Local Delivery?'. That should do it.
HTML Code:
Line #124 : $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Store Pickup Shipping', 'MODULE_SHIPPING_STOREPICKUP_STATUS', 'True', 'Do you want to offer In Store rate shipping?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
I fear you have a syntax error somewhere. You may also have a cache problem, FTP editor or server editor if that is what you are using. Changing the variable value should not cause action you are describing unless there is a syntax error. Download a fresh copy of the source code to upload to the server. Use a proper editor like Notepad++ to make the change on your local file, not Microsoft Notepad or any other Windows/Microsoft editor. Delete the server copy of storepickup.php , make the change on an local copy of storepickup.php and upload the changed page to the server. That should do it, assuming the length of the variables make no difference your logic is correct.
Bookmarks