PDA

View Full Version : Complex Shipping



afcberty
10-17-2005, 01:06 PM
I am currently evaluating osCMax with a view to switching over but I have a problem with the shipping that someone will hopefully be able to help with.
It's basically this:
I wish to sell products with three different per item rates.
For example.
Product X has a flat rate shipping cost of £1.50 Standard per Item
£2.50 Priority per item
£3.50 Recorded per Item.

So 2 of Product X would be £3.00 Standard Shipping.
£5.00 Priority Shipping
£7.00 Recorded Shipping

Can this be done or is their already a mod for it???

I have looked at the multiple flat rate and royal mail mods, they are close but no cigar!!!!

Any replies would be gratefuly received.

jpf
10-20-2005, 08:45 AM
per item shipping....? A set rate for each and every item? If so Yes....

afcberty
10-20-2005, 09:19 AM
Thanks for the reply jpf!

Where can I find it?

Regards

jpf
10-20-2005, 09:26 AM
Admin>Modules>Shipping>

Click on:
Per Item (for a set rate per item in your WHOLE store)
or
Individual Shipping Prices (for a item by item rate - edit each item to put in the rate for that item)

Click on:
+ Install

Edit as needed...


Good Luck!

afcberty
10-20-2005, 10:09 AM
I tried both of them jpf but what I am looking to do is have an item for sale with three individual shipping costs.

Second Class £1.50 per item
First Class £2.50 per item
Recorded £3.50 per item

Regards

jpf
10-21-2005, 06:29 AM
Triplicate the modules... Copy and rename

Go into each and rename the required parts - to make each unique...

IE: (using the per item module)

Rename item.php (both in modules/shipping and in the language file) to say:
item_first.php
item_second.php
item_third.php

In each change all ocurrances of each:
MODULE_SHIPPING_ITEM_
to say
MODULE_SHIPPING_FIRST_
MODULE_SHIPPING_SECOND_
MODULE_SHIPPING_THIRD_
(according to the new file names)

Then in the SQL queries in the modules change ALL the "configuration_group_id" which is "6" to a unique number that does not exist on your system (eg: 1001, 1002, 1003 - according to each file).

In the language files - re-label the tags to match your requirments
define('MODULE_SHIPPING_ITEM_TEXT_TITLE', 'Per Item');
define('MODULE_SHIPPING_ITEM_TEXT_DESCRIPTION', 'Per Item');
define('MODULE_SHIPPING_ITEM_TEXT_WAY', 'Best Way');
to:
define('MODULE_SHIPPING_ITEM_TEXT_TITLE', 'First Class');
define('MODULE_SHIPPING_ITEM_TEXT_DESCRIPTION', 'First Class');
define('MODULE_SHIPPING_ITEM_TEXT_WAY', 'Fastest Way');

define('MODULE_SHIPPING_ITEM_TEXT_TITLE', 'Second Class');
define('MODULE_SHIPPING_ITEM_TEXT_DESCRIPTION', 'Second Class');
define('MODULE_SHIPPING_ITEM_TEXT_WAY', 'Best Way');

define('MODULE_SHIPPING_ITEM_TEXT_TITLE', 'Recorded');
define('MODULE_SHIPPING_ITEM_TEXT_DESCRIPTION', 'Recorded');
define('MODULE_SHIPPING_ITEM_TEXT_WAY', 'Secured Way');

or what ever.....

BACKUP YOUR DB and SITE! (Best to use a test site - not your LIVE DB & site...)

Go into ADMIN and "install" your new Modules and set your setting and sort order as required....

TEST!!!!

DONE!

Good Luck!