Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add schema and changelog

fowczarekc9ebf14bc580
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c397a8ff56..bc793c6114 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -59,7 +59,8 @@ All notable, unreleased changes to this project will be documented in this file.
- Change AddressValidationRules API - #4655 by @Kwaidan00
- Refactor account deletion mutations - #4668 by @fowczarek
- Upgraded django-prices from v1 to v2.1. Currency codes are now locked at 3 characters max by default for consistency. - #4639 by @NyanKiyoshi
-- Drop deprecated fields from api - #4684 by@fowczarek
+- Drop deprecated fields from api - #4684 by @fowczarek
+- Distinguish OrderLine product name and variant name - #4702 by @fowczarek
## 2.8.0
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index a71cfaefca..bb7a4f35c2 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -2176,7 +2176,9 @@ input OrderFilterInput {
type OrderLine implements Node {
id: ID!
productName: String!
+ variantName: String!
translatedProductName: String!
+ translatedVariantName: String!
productSku: String!
isShippingRequired: Boolean!
quantity: Int!
diff --git a/templates/dashboard/order/pdf/packing_slip.html b/templates/dashboard/order/pdf/packing_slip.html
index 486c862419..4a4816e421 100644
--- a/templates/dashboard/order/pdf/packing_slip.html
+++ b/templates/dashboard/order/pdf/packing_slip.html
@@ -69,7 +69,7 @@
{% for line in fulfillment %}
<tr>
<td>
- {{ line.order_line1 }}<br>
+ {{ line.order_line }}<br>
</td>
<td>
{{ line.order_line.product_sku }}