• Welcome to KonaKart Community Forum. Please login or sign up.
 

Regarding Shipping

Started by sivaprakashcg, October 10, 2007, 08:01:06 am

Previous topic - Next topic

sivaprakashcg

Hi,
       Is it possible to add the shipping methods to particular product .Not for all the products.


paolo

Absolutely. You only have to implement one method :

public ShippingQuote getQuote(Order order, ShippingInfo info)

The order is passed in as a parameter and so you know which products are being ordered and can make decisions based on that.

-Paolo

sivaprakashcg

Thanks....
       Now i can check using getQuote method.

      My doubt.. How can i specify.. Particular product has specified shipping... where i have to specify....

paolo

You can use one of the 5 custom fields of the product object for this.

-Paolo

sivaprakashcg

wat i have to specify in that field.. can u tell me...

paolo

You need to add some custom data that gives you details about how the product should be shipped. Then in the shipping module you read this data and act accordingly.

sivaprakashcg

Ok.. How can i get from db in shipping module.. whether there is any method to get the custom1,,, in shipping program