Wrong unit price is sent to Shipstation

Created on 13 December 2023, over 1 year 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

Create patch

User interface changes

None

API changes

None

Data model changes

πŸ› Bug report
Status

Active

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.71.5 2024