Re: chargeShipping on catalog/product page

2009-11-26 Thread su2
 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
>>>> mridul.pat...@hotwaxmedia.com
>>>> -------------
>>>> direct: +91 - 942.592.6892
>>>>
>>>>
>>>> On Tue, Nov 24, 2009 at 8:20 PM, su2  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-tp786880p788404.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: chargeShipping on catalog/product page

2009-11-25 Thread Mridul Pathak
Hi Shuchi, Raj

Creating shipping estimates using price breaks and weight breaks of course
is one option to create fine shipping rules, but still they apply on a
product store as a whole and not on a single product. For instance, the case
Shuchi has presented here can be very product specific, user may want to
allow certain shipping methods for one of the products and it might not be
possible to create shipping estimates based on price/weight breaks as other
products fall in same range.

Shuchi, chargeShipping won't help you here either.  It just determines if a
product has to be charged shipping or not, it doesn't allow you to associate
certain shipping methods to the product.

One way of doing this is to create Product and Shipment Method specific
promotion, which will though show that particular shipping method for the
product during checkout, but when selected will not apply shipping charges
for that particular product.  But if the requirements are very specific,
like have ground shipping for free for a product and user don't even needs
to select the shipping method (which means that if none selected, then
ground shipping will be set in cart as default), then that is too custom a
requirement and you will need to implement custom code for it, which will
still need to create the promotion I specified.

-- 
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892

On Thu, Nov 26, 2009 at 10:09 AM, Raj Saini  wrote:

> Hello Suchi,
>
> Did you try the shipping estimates? You can create shipping rules based on
> varied criteria. Have a look at http://www.goldencharm.co.uk/ and see how
> different shipping options are offered based on price.
>
> Thanks,
>
> Raj
>
>
> su2 wrote:
>
>> 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
>>> mridul.pat...@hotwaxmedia.com
>>> -
>>> direct: +91 - 942.592.6892
>>>
>>>
>>> On Tue, Nov 24, 2009 at 8:20 PM, su2  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.
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


Re: chargeShipping on catalog/product page

2009-11-25 Thread Raj Saini

Hello Suchi,

Did you try the shipping estimates? You can create shipping rules based 
on varied criteria. Have a look at http://www.goldencharm.co.uk/ and see 
how different shipping options are offered based on price.


Thanks,

Raj

su2 wrote:

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
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892


On Tue, Nov 24, 2009 at 8:20 PM, su2  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.
  



  




Re: chargeShipping on catalog/product page

2009-11-25 Thread su2

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
> mridul.pat...@hotwaxmedia.com
> -
> direct: +91 - 942.592.6892
> 
> 
> On Tue, Nov 24, 2009 at 8:20 PM, su2  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.


Re: chargeShipping on catalog/product page

2009-11-24 Thread Mridul Pathak
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
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892


On Tue, Nov 24, 2009 at 8:20 PM, su2  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.


chargeShipping on catalog/product page

2009-11-24 Thread su2

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.