Skip to main content
  1. Altera Changelog/

Line item discounts automatically rolled up on order import

Try Altera for free

Import and export Shopify data with ease. Matrixify-compatible.

Available on Shopify App Store

Previously, Line: Discount values on line item rows were silently ignored during order import because the Shopify API does not support per-line-item discounts. This meant discount information could be lost when exporting orders from one store and importing them into another – particularly for orders with automatic discounts or script-based discounts that don’t have a discount code.


🚀 What’s New
#

  • Automatic discount rollup – when line items have Line: Discount values but no explicit Discount row is present, the discount amounts are now automatically summed and applied as an order-level fixed discount.

🔧 How It Works
#

  • Line item discount amounts are collected from all Line Item rows that have a Line: Discount value
  • The absolute values are summed into a single order-level fixed-amount discount
  • If an explicit Discount row is already present in the spreadsheet, it takes priority and line item discounts are not rolled up – the Discount row already captures the total discount for the order, so rolling up both would double-count
  • Negative values (as shown in exports) are handled automatically