Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping First Plus per zone and per category


jody00

Recommended Posts

Posted

I am not sure if this is the right place to post this or if it should be in General Questions. Sorry if i got it wrong.

 

I am using FirstPlusZones shipping contribution that gives a £x first item plus £y additional item for shipping cost per zone

 

I'm trying to extend this to add in the concept of a shipping class. I sell a few different types of products that this would work for but 1 of class a and 1 of class b are very different to 2 of class a and so on

 

I have added the products_shipping_class to the product table and the categories.php in admin so for each product there is a shipping class vlaue

 

What I'm trying to do with the module is extend it so that you can set

 

Class 1, Zone 1 1st item £ additional item £, Zone 2 1st item £ additional item £, etc

Class 2, Zone 1 1st item £ additional item £, Zone 2 1st item £ additional item £, etc

Class 3, Zone 1 1st item £ additional item £, Zone 2 1st item £ additional item £, etc

 

so effectively a table of rates

 

Zone 1 Zone 2 Zone 3 Zone 4

Handling

Class 1 1st

Class 1 Add

Class 2 1st

Class 2 Add

Class 3 1st

Class 3 Add

etc

 

and when working out the shipping it works out items per class and then adds them together

 

I was going ok until i got stuck in a mass of if statements and new keys

 

there will also in later phase need to be a breakdown of shipping costs, class 1 name first class 1 name extra, class 2 name first class 2 name extra on the confirmation and invoices but to begin with can just show the total if its easier

 

Anyone know how to do this simply?

 

Then the next stage would be to extend to allow for display of the

 

best

 

Jody

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...