Thanks Mridul for your reply.

My main goal is: Using chargeShipping dropdown, I want to offer free ground
shipping on particular products, so basically I want to show all the other
shipping options in as-is condition while making ground shipping as free for
this particular item.

Right now what is happening is: when I make chargeShipping = N, it does not
show any shipping options for this item at all. 

I scanned through the shippingApplies function in ProductWorker,
ShoppingItem and ShoppingCartItem files and tried to forcefully make
shippingApplies = true (just to see if it would show all the shipping
options for such products) but the attempts where unsuccessful.

Could you please point me out where I might need to concentrate for making
this happen?

Thanks Again, and I appreciate your response and time on this.

Shuchi-



Mridul Pathak-2 wrote:
> 
> Shuchi,
> 
> ProductWorker class has a method shippingApplies() which checks for this
> field.  This method in turn is used in OrderReadHelper.shippingApplies()
> and
> ShoppingCartItem.shippingApplies() to perform the check.
>  ShoppingCart.shippingApplies() use ShoppingCartItem.shippingApplies() to
> check if there are shippable items in cart. 
> ShoppingCart.shippingApplies()
> and OrderReadHelper.shippingApplies() is used in CheckoutHelper and
> CheckoutEvents which are classes responsible for checkout.  These are also
> used in few more classes like ShippingEvents, InvoiceServices,
> PayPalServices, PayflowPro.  You can refer these classes and check the
> code.
> 
> -- 
> Thanks & Regards
> Mridul Pathak
> Hotwax Media
> http://www.hotwaxmedia.com
> [email protected]
> -------------------------------------------------
> direct: +91 - 942.592.6892
> 
> 
> On Tue, Nov 24, 2009 at 8:20 PM, su2 <[email protected]> wrote:
> 
>>
>> Hello friends,
>>
>> for during checkout, where can I find the code for checking the value of
>> chargeShipping(which is set on catalog/product page)?
>>
>> I tried finding it but could not find where actually it is checking if
>> chargShipping is set to 'N'.
>>
>> I really appreciate the help.
>>
>> Thank you.
>> su
>> --
>> View this message in context:
>> http://n4.nabble.com/chargeShipping-on-catalog-product-page-tp786880p786880.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
> 
> 

-- 
View this message in context: 
http://n4.nabble.com/chargeShipping-on-catalog-product-page-tp786880p788010.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to