Skip to content

Commit 9c9a569

Browse files
MAGETWO-91501: Invoice and Shipping PDF does not show Size 0 for child product
- Change check custom option value
1 parent 1cb9235 commit 9c9a569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Pdf/Items/Invoice/DefaultInvoice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function draw()
127127
'feed' => 35,
128128
];
129129

130-
if ($option['value']) {
130+
if ($option['value'] !== null) {
131131
if (isset($option['print_value'])) {
132132
$printValue = $option['print_value'];
133133
} else {

0 commit comments

Comments
 (0)