EstimateShippingViewModel

Overview

The EstimateShippingViewModel will be called upon if the customer chooses to estimate the cost of shipping before proceeding to checkout. This article will help you understand what's available to you in the view model.

Requirements

The following pre-requisites will be necessary to accomplish the goals of this article:

  • General understanding of template engines
  • Understanding HTML, CSS, JavaScript
  • Familiarity with template languages
  • Familiarity with ASP.NET MVC Razor

Getting Started

There are no tasks needed to get started with understanding this object. 

EstimateShippingViewModel

The EstimateShippingViewModel object will contain all of the details to allows customers to estimate shipping costs in your Hotcakes Commerce store.

Members

The following table gives you details on the various members of the EstimateShippingViewModel object.  The descriptions are based upon default functionality and the default Viewset included with Hotcakes.

Member Type Description
City String

The name of the city to ship to.

CountryId String Unique identifier of the country where the order will be shipped.
PostalCode String Postal code where the order will be shipped to.
Rates List<ShippingRateDisplay> Lists the rates returned from estimating the current order shipping costs.
RegionId String Unique identifier of the region where the order will be shipped.

 

Have more questions? Submit a request

Need More Help?

Do you need more assistance with this article? Please review your support options.