Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: shipping method (real time)

  1. #1
    Kelvin is offline Junior Member
    Join Date
    Jan 2011
    Posts
    10

    Default shipping method (real time)

    I am using real time rate shipping, if I want to change the shipping method to UPS only and disable USPS shipping when the product weight is bigger than one pound, how can I change this? should I change in shippingMethodControl.cs, checkoutshipping.aspx, shippingcart.aspx, or RTshipping.cs or other file? If I change, could u tell me how can I change for this?

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    You can add an IF condition to GetRates() method in RTShipping.cs class, check whether ShipmentWeight > 1lbs or otherwise.

  3. #3
    Kelvin is offline Junior Member
    Join Date
    Jan 2011
    Posts
    10

    Default

    yes, I used ShipmentWeight to return the weight, it's 0.5, but my item weight is 2.6 in ProductVariant table, where should I need to change in order to return 2.6 pound this currect weight?

  4. #4
    Kelvin is offline Junior Member
    Join Date
    Jan 2011
    Posts
    10

    Smile

    Problem solved, Thanks