Skip to content

Price resets to 0.00 and changes are not saved #112

@berrytimmermans

Description

@berrytimmermans

Description

When clicking Edit on a product in the content grid (bottom-right), the price resets to 0.00. After updating the price and clicking Save, a success message is shown ("Changes saved"), but the new value is not persisted — the original value remains unchanged.

Possibly related to:** #110 and #111?

Steps to reproduce

  1. Upgrade Craft CMS from v4 to v5 (The upgrade and migration completed successfully without any errors.)
  2. Upgrade Craft Commerce from v4 to v5 (The upgrade and migration completed successfully without any errors.)
  3. Install or keep craftcms/digital-products v4.0.3
  4. Go to Commerce → Digital Products → Products
  5. Observe the price field — it shows 44.00
  6. Click Edit (bottom-right)
  7. Observe the price field — it shows 0.00
  8. Enter a new price and click Save
  9. Observe the price field — it shows 22.00
  10. Re-open the product — the new value is not saved
Image Image Image Image

Additional info

  • Craft version: Craft Pro 5.10.1

  • PHP version: 8.4.20

  • Database driver & version: MySQL 8.0.40

  • Plugins & versions:

  • Craft Commerce: 5.6.5

  • Digital Products: 4.0.3

  • Freeform: 5.15.13

  • Link Vault: 5.0.3

  • Mollie for Craft Commerce: 4.4.1

  • Redactor: 4.2.0

  • Redactor Anchors: 1.5.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions