GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Sylius/UPGRADE-API-2.3.md at 2.3 · Prometee/Sylius

Expand file tree

/

UPGRADE-API-2.3.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
15 lines (11 loc) · 803 Bytes
/

UPGRADE-API-2.3.md

Copy path

File metadata and controls

15 lines (11 loc) · 803 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

UPGRADE FROM 2.2 TO 2.3

Order

  1. The Order resource (admin and shop) now exposes a new orderAndItemPromotionTotal property, next to the existing orderPromotionTotal.

    orderPromotionTotal sums the unit-level, item-level and order-level promotion adjustments together. The unit-level part is already reflected in itemsSubtotal/each item's subtotal, so combining itemsSubtotal with orderPromotionTotal double-counts that part. orderAndItemPromotionTotal sums only the item-level and order-level adjustments, so it can safely be added next to itemsSubtotal without double-counting.

    The property is available in the sylius:admin:order:index, sylius:admin:order:show, sylius:shop:cart:show and sylius:shop:order:account:show serialization groups.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.