KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: sivaprakashcg on October 10, 2007, 08:01:06 am

Title: Regarding Shipping
Post by: sivaprakashcg on October 10, 2007, 08:01:06 am
Hi,
       Is it possible to add the shipping methods to particular product .Not for all the products.

Title: Re: Regarding Shipping
Post by: paolo on October 10, 2007, 08:37:59 am
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
Title: Re: Regarding Shipping
Post by: sivaprakashcg on October 10, 2007, 10:16:30 am
Thanks....
       Now i can check using getQuote method.

      My doubt.. How can i specify.. Particular product has specified shipping... where i have to specify....
Title: Re: Regarding Shipping
Post by: paolo on October 10, 2007, 10:19:55 am
You can use one of the 5 custom fields of the product object for this.

-Paolo
Title: Re: Regarding Shipping
Post by: sivaprakashcg on October 10, 2007, 11:10:33 am
wat i have to specify in that field.. can u tell me...
Title: Re: Regarding Shipping
Post by: paolo on October 10, 2007, 11:14:25 am
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.
Title: Re: Regarding Shipping
Post by: sivaprakashcg on October 10, 2007, 12:02:39 pm
Ok.. How can i get from db in shipping module.. whether there is any method to get the custom1,,, in shipping program