You could clone one of the modules (say royal mail first class letter) give it a new name.
Copy <YourCatalog>/includes/modules/shipping/rm1stletter.php to <YourCatalog>/includes/modules/shipping/rmlongitem.php make changes below.
PHP Code:
class rmlongitem {
var $code, $title, $description, $enabled, $num_zones ;
// class constructor
function rmlongitem () {
global $order, $total_weight;
$this->version = '3.3.2';
$this->code = 'rmlongitem ';
add a new type to the attributes for these items
PHP Code:
function quote($method = '') {
global $order, $shipping_weight, $shipping_num_boxes, $currency, $db;
$postage_check = array(100);
Add the new attribute to the system (sql).
Code:
SELECT @LongItem_id := ifnull(max(products_options_values_id)+1,1) FROM products_options_values;
SELECT @LongItem_id := ifnull(products_options_values_id, @LongItem_id) FROM products_options_values WHERE products_options_values_name="Long Item" ;
REPLACE INTO products_options_values (products_options_values_id, language_id, products_options_values_name, products_options_values_sort_order) VALUES
(@LongItem_id, 1, 'Long Item', 100);
copy the language file <YourCatalog>/includes/languages/english/modules/shipping/rm1stletter.php to <YourCatalog>/includes/languages/english/modules/shipping/rmlongitem.php
In the file change every occurrence of RM1STLETTER to RMLONGITEM and modify all the descriptions as required.
Install the module then adjust the shipping weights and costs to cover the items you want to ship. Add the attribute "Long Item" to the items that you want to ship this way. If you only want it to apply to these items then turn on exact match and it will only allow these items to be shipped by this method. Note it may prevent them from being combined with other items. If you want to allow combinations but ensure that this method is selected you could set the shipping weight to 30.1Kg for the items which I think is above the maximum shipping weight for parcel force.
If you are not a coder then let me know and I'll see if I can create the module for you. I will not include it as part of big royal mail and will not guarantee that I will maintain it in the future as I do not know what shipping rates you will be using.

Originally Posted by
Man from Mars
I have installed Big Royal Mail and all is going well at this stage. But, within my business I have extra long items appx' 3 meters in length. What I need to do is have the ability to fix a price on certain categories that have these types of product. Has anyone had this problem before and if so how did you work round it?
These products fall within length price structure and not weight, so a single price would cover them all. As a business I could then use a different carrier if so required.
Any thoughts?
Bookmarks