Skip to content

Commit

Permalink
use dimensions field when creating a CustomPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejo committed Sep 11, 2024
1 parent bd44a9a commit 63c79c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ class WCShippingLabelStore @Inject constructor(
CustomPackage(
title = it.name,
isLetter = it.isLetter,
dimensions = it.outerDimensions ?: it.innerDimensions ?: "",
dimensions = it.dimensions ?: it.outerDimensions ?: it.innerDimensions ?: "0 x 0 x 0",
boxWeight = it.boxWeight ?: 0f
)
}
Expand Down

0 comments on commit 63c79c4

Please sign in to comment.