@porulle/adapter-shopify 0.68.1 → 0.68.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +3 -0
package/dist/index.js
CHANGED
|
@@ -221,6 +221,9 @@ export function shopifyConnector(options) {
|
|
|
221
221
|
lineItems: slice.lines.map((line) => ({
|
|
222
222
|
variantId: shopifyGid("ProductVariant", line.externalVariantId),
|
|
223
223
|
quantity: line.quantity,
|
|
224
|
+
// Defaults to false in orderCreate, which shows the order as "Shipping not required"
|
|
225
|
+
// although it carries the shopper's address. Every slice has one, so every line ships.
|
|
226
|
+
requiresShipping: true,
|
|
224
227
|
priceSet: money(line.unitPrice, slice.currency),
|
|
225
228
|
})),
|
|
226
229
|
transactions: [{ kind: "SALE", status: "SUCCESS", gateway: SOURCE_NAME, amountSet: money(slice.grandTotal, slice.currency) }],
|