Skip to content

Commit ac09aac

Browse files
Add name, status and status url back to query nodes (#318)
Co-authored-by: Ryan Mitchell <ryan@thoughtcollective.com>
1 parent aa7fdb0 commit ac09aac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Tags/Shopify.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function productPrice()
6666
default => 'display_price',
6767
};
6868

69-
return __('shopify::messages.' . $langKey, ['currency' => $payload->currency, 'price' => $payload->price]);
69+
return __('shopify::messages.'.$langKey, ['currency' => $payload->currency, 'price' => $payload->price]);
7070
}
7171

7272
/**
@@ -567,6 +567,9 @@ public function customerOrders()
567567
cancelReason
568568
createdAt
569569
discountCodes
570+
displayFulfillmentStatus
571+
statusPageUrl
572+
name
570573
}
571574
pageInfo {
572575
hasNextPage

tests/Unit/TagsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ public function outputs_product_variants()
283283
$this->assertEquals('abc', $this->tag('{{ shopify:variants variant_id:is="abc" }}{{ variant_id }}{{ /shopify:variants }}', ['slug' => 'obi-wan']));
284284
}
285285

286-
287286
#[Test]
288287
public function runs_hooks_on_variant_price()
289288
{

0 commit comments

Comments
 (0)