I am using Magento

I am adding Product Programmatically. I want to calculate the Shipping Cost in that phtml page. Like which is calculated in the cart page based on quote(Shown in the below)image while Customer enters the weight, Country(By Default US), State.

How to do this.

Below is the Screenshot.

enter image description here

Update: I need Shipping Cost for Ups and USPS Shipping Methods.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.