Wrong unit price is sent to Shipstation

Created on 13 December 2023, 7 months ago
Updated 7 March 2024, 4 months ago

Problem/Motivation

Shipstation doesn't account for any price modifications e.g. pricelist.

Steps to reproduce

  • Create a pricelist for a product variation.
  • Purchase an item with a pricelist rule
  • Prices in shipstation will match default prices rather than calculated price

Proposed resolution

Replace 'UnitPrice' => $product_variation->getPrice()->getNumber(),
with priceCalculator->calculate($purchasable_entity, 1, $context)->getCalculatedPrice()->getNumber();

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024