tabarnew Posted October 14, 2010 Posted October 14, 2010 Hi everyone, I am at a complete loss at how to set up all the zones for shipping, i want to do it city by city so need to set up all the zones and but i dont want to do it via weight either, just shipping rates dependant on zone.. is there any step by step guides? please help!
FIMBLE Posted October 14, 2010 Posted October 14, 2010 I am certain that there is no option for city shipping in a default osC install, you will need to search the add ons section for one. I know they are there but i cant recall what where, search for city shipping im sure you will find one. There are no guides as such that i am aware of, but if you match the price of your shipping solution, most ship by weight so if they charge 9.99 for 2kg then set it up as that in the shipping 2:9.99, and so on Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
tabarnew Posted October 14, 2010 Author Posted October 14, 2010 Hi Nic I have found an addon/module so i am going to give that go. I have encountered a problem with the install, i do not understand it! can anyway dumb it down for me? 1. Copy all files as listed within this directory enable the module and set a default shipping amount. 2. Link to the "city_ship_rates.php" document within one of the boxes of your choice within the admin parent directory. 3. Run the SQL statement included with the package. 4. Enter which cities you would like to have a different shipping amount charged. (Cities are tied to your stores set zone and will not allow cities outside of your stores zone to receive the same rates. If a city has not been foung within the list the customer would then be charged the default rate.)
FIMBLE Posted October 14, 2010 Posted October 14, 2010 you need to add the file to a box in your admin by using a link, say you want it in your modules box.. open the file admin / includes / boxes / modules.php you will see the following <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_MODULES, 'link' => tep_href_link(FILENAME_MODULES, 'set=payment&selected_box=modules')); if ($selected_box == 'modules') { $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_MODULES, 'set=payment', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_PAYMENT . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MODULES, 'set=shipping', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_MODULES, 'set=ordertotal', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_ORDER_TOTAL . '</a>'); } $box = new box; echo $box->menuBox($heading, $contents); ?> each '<a href="' . tep_href_link(FILENAME_MODULES, 'set=shipping', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_SHIPPING . '</a><br>' . represents a link that shows inthe admin modules box, that one is for the shipping link. So you need to copy a line and alter it to show the file you require Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
tabarnew Posted October 14, 2010 Author Posted October 14, 2010 HI Nic I tried that, obviously it tells me to link it to city_ship_rates i did that and it didnt work, would just refresh it in the modules admin page Any other ideas? This is the coding ive done.. (im not to good) '<a href="' . tep_href_link(FILENAME_MODULES, 'set=city_ship_rates', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_SHIPPING . '</a><br>' .
FIMBLE Posted October 14, 2010 Posted October 14, 2010 what you need to do to do this properly is... in your admin / includes / filemanes.php add to the bottom just before the last ?> define('FILENAME_RATES', 'city_ship_rates.php'); in your languages file admin / includes / languages / english.php (or your own language) add define('BOX_MODULES_RATES', 'City Rates'); In the module admin / includes / boxes / module.php add this line (not at the end though somewhere in the middle. '<a href="' . tep_href_link(FILENAME_RATES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_RATES . '</a><br>' . This will add the link link correctly in line with osC standards Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
tabarnew Posted October 14, 2010 Author Posted October 14, 2010 Thank you nic Thank god for this forum, its a shame there hasnt been a fully detailed tutorial made
FIMBLE Posted October 14, 2010 Posted October 14, 2010 You're welcome Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
tabarnew Posted October 14, 2010 Author Posted October 14, 2010 http://addons.oscommerce.com/info/5426 this is the add on i have installed, i am able to edit the module but it will not show up on the shipping page.. please help im going out of my mind
FIMBLE Posted October 14, 2010 Posted October 14, 2010 Are you on your test account within a city you have selected for this module to work on? Sounds silly but its an honest mistake that lots make (including myself when i used it last)!!! Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
tabarnew Posted October 15, 2010 Author Posted October 15, 2010 Hi nic Yeah i ran through it all night its told me to match them up with zones but all the zones are counties in the UK.. so i am at a total loss to where ive gone wrong and whats happening..
tabarnew Posted October 15, 2010 Author Posted October 15, 2010 Can anyone please help? i dont really want to go down the whole postcode route and would rather do it by city/town
Recommended Posts
Archived
This topic is now archived and is closed to further replies.