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 2 of 2

Thread: Question About RTShipRequest Sending Dimensions

  1. #1
    cbeauchamp is offline Junior Member
    Join Date
    Oct 2008
    Posts
    8

    Default Question About RTShipRequest Sending Dimensions

    I am successfully pulling real time shipping rates from UPS, but the rates look a little off compared to what I see in WorldShip (RT rates are always lower).

    I noticed in the RTShipRequest XML output that ASPDotNetStorefront is not sending dimensions to UPS for the request even when that product/variant has dimensions specified. The RTShipRequest output reads:

    <Package>
    <PackagingType>
    <Code>02</Code>
    </PackagingType>
    <Dimensions>
    <UnitOfMeasurement>
    <Code>IN</Code>
    </UnitOfMeasurement>
    <Length>0</Length>
    <Width>0</Width>
    <Height>0</Height>
    </Dimensions>
    <Description>1</Description>
    <PackageWeight>
    <UnitOfMeasure>
    <Code>LBS</Code>
    </UnitOfMeasure>
    <Weight>5.0000</Weight>
    </PackageWeight>
    <OversizePackage />
    </Package>
    Why would ASPDotNetStoreFront send "0" for my dimensions when I know these products have dimensions specified at the variant level?

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    There are multiple other posts floating around in the forums regarding dimensions and real time shipping When using real time shipping, dimensions are only sent if the items are marked in the admin section as Is Ship Separately. If they aren't, then dimensions are not taken into consideration as it's assumed that each of the items will be going into a single larger box of unknown dimensions. If you have a specific set of business rules that are going to require sending the dimensions of one box and determining which items will be packed together in the same box that you'll need to get a copy of the source code and probably make modifications in both the ShoppingCart and RTShipping classes to support this. If your items are shipping individually then you can just set Is Ship Separately to Yes for each of the items and then dimensions will be sent over.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>