[Meta] Drupal Commerce 1

Created on 27 April 2017, over 7 years ago
Updated 4 February 2023, almost 2 years ago

This is the plan to migrate Commerce 1 to Drupal 8 commerce. For a some background see 🌱 [Meta] Commerce Migrate Planning Active .

The current work.

Level 3

  • Cart
  • Checkout
  • Customer
  • Tax
  • Commerce license, Roles and File downloads

Notes
In a discussion with bojanz on Slack the following was confirmed.

  • Shipping adjustments are always on the order
  • Promotions are always on the order item since 2.7/2.8 cause VAT"
  • "Commerce 1.x only had order item level adjustments"

Testing on D8

Using the Commerce demo site these are used, order discount (Automatic 20% off) and Spend and Save discount (Spend $100, Get $5 Off), product promo discount (fixed amount off some products), and a tax (custom type 6%). Then made as order as the admin. The data is stored as follows

The order adjustments were

  • Shipping, 15.00
  • Tax, 'special tax;, 9.99

There were 4 products and the order item adjustments are

  • product A ($20.00) : 3 rows, order discount, spend and save discount , tax.
    • Automatic 20% off, -4, percentage: "0.2"
    • Spend and Save, -0.59, percentage: N
    • Tax, 0.9246, percentage: "0.06"
  • product B ($25.00) qty 2 : 4 rows, order discount, product discount, spend and save discount, tax.
    • Automatic 20% off, -10, percentage: "0.2"
    • Product promo, -2, percentage: N
    • Spend and Save, -1.47, percentage: N
    • Tax, 2.1918, percentage: "0.06"
  • product C ($49.99) : 4 rows, order discount, product discount, spend and save discount, tax.
    • Automatic 20% off, -10, percentage: "0.2"
    • Product promo, -1, percentage: N
    • Spend and Save, -1.47, percentage: N
    • Tax, 2.2512, percentage: "0.06"
  • product D ($50.00): 3 rows, order discount, spend and save discount, tax.
    • Automatic 20% off, -10, percentage: "0.2"
    • Spend and Save, -1.47, percentage: N
    • Tax, 2.3118, percentage: "0.06"
🌱 Plan
Status

Active

Version

3.2

Component

Drupal Commerce 1.x

Created by

πŸ‡³πŸ‡ΏNew Zealand quietone

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024