Shipstation expects line item weight to be per unit rather than total line item

Created on 30 November 2023, 7 months ago
Updated 3 December 2023, 7 months ago

Problem/Motivation

Drupal calculates the total line item weight. e.g. Quantity times individual product weight.

Shipstation does this again on import when there is no line item weight set on products in shipstation.

So if you have an item that is 1 oz, and purchase 3 of them that line item Drupal will correctly report it as 3oz

However once it gets in to Shipstation Shipstation will say the package is 9oz

Steps to reproduce

Set up shipstation in Drupal
Ensure the product in Shipstation has no weight assigned
Order more than one quantity of an item
Pull order from Drupal to Shipstation
Weight will not be correct

Proposed resolution

Divide weight of line items by quantity
Ensure quantity is greater than 0

Remaining tasks

Create MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024