Gets the estimated shipping costs for a particular country and postal code combination. This method accepts an object as its argument. After you call this method, the order summary of the cart is updated with the postal code and the currency amount of the shipping estimate.
Tag: Cart Summary
How to Format a variable with two decimal values
For formatting an integer variable with fixed two decimal points (Eg: 12.00, 100.34, 123.00, etc )we can use this method: This method can be used for formatting subtotal, total values in the cart, or checkout pages.
Shipping cost calculation in SCA
Shipping costs will be calculated for credit card-based(role-based) customers. For any shipment whose total value of the product is $150 or higher, the shopping cost will be 0. Any shipment value less than $150 will be charged shipping cost. Steps: Enabled SCRIPTABLE CART AND CHECKOUT in the website setup. A client script will be added… Continue reading Shipping cost calculation in SCA