Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Tutorials
Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Promotions & taxes
Promotions
How is shipping cost calculated when there's an item with shipping benefit on the cart?
How is shipping cost calculated when there's an item with shipping benefit on the cart?

This article aims to clarify how the distribution of the cost of freight between the items of a cart when one of these items has a freight promotion works.

Division of shipping cost between items

The shipping cost takes into account the weight of the products added to a cart. These weights are listed on the freight worksheet of a carrier.

When there is more than one item in the cart, the shipping cost divided by each item is proportional to its weight, based on the total weight of the cart.

Let's look at how the cost of shipping calculation would be calculated on a cart with 5 items, with a total shipping cost of 200 currency units:

To find out the cost of shipping a cart, please make shipping simulation. To find out the weight of a SKU, access the Products and SKU page in the Catalog menu and look for Shipping Weight.

  • Total Cost of Shipping: 200
  • Product A Weight: 20
  • Product B Weight: 25
  • Product C Weight: 15
  • Product D Weight: 10
  • Product E Weight: 30
  • TOTAL WEIGHT = 100

The calculation of the shipping cost of each item will be given by the following formula:

__ Total Shipping Cost x (Product Weight / TOTAL WEIGHT) __

Applying the above formula, we have:

200 x (20/100) = 40

The * Total Cost of Shipping * is 200. We see that * Product Weight A * represents __20% __ of the total weight of the cart (20 / 100).

Therefore, the * Shipping Cost of Product A * will be 40.

Shipping cost breakdown when there is promotion of freight in the cart

When there is a promotion of freight for some items in the cart, the costing calculation for the shipping cost occurs as described in the previous section.

Let's assume a scenario where Product B receives a promotion of * 10% in the value of your freight *.

Applying the formula, we have:

200 x (25/100) = 50

The * Total Cost of Shipping * is 200. We see that the Poso of Product A represents __25% __ of the total weight of the cart (25 / 100).

Therefore, the * Cost of Shipping of Product B * will be 50.

As product B has a 10% promotion on the value of your freight, the shipping cost will be:

50 - (50 x 10%) = 45

If product B had a Free Shipping promotion, its shipping cost would be zero:

50 - (50 x 100%) = 0

Therefore, to calculate the impact of a freight promotion on the cost of shipping an item, it is necessary to calculate the shipping cost proportional to the weight of the item and apply the discount percentage to this value.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback