Skip to content

"Display as cards" throws unknown property error for basePriceAsCurrency #111

@berrytimmermans

Description

@berrytimmermans

Description

Navigating to Commerce → Digital Products → Products and switching to "Display as cards" view throws the following error:
Getting unknown property: craft\digitalproducts\elements\Product::basePriceAsCurrency

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. Switch to "Display as cards" view → error appears

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