Skip to content

[Bug]: A gift card is persisted when adding it to the cart #262

@loevgaard

Description

@loevgaard

Plugin version

0.12

Sylius version

1.10

What happened?

When I add a gift card to my cart, the gift card is persisted in the database. This has some unintended consequences:

  • A lot of gift cards are added to the database that will never be enabled and used (i.e. bloat)
  • In the list of gift cards, you can click the order number if the gift card is related to an order. However, when the order isn't completed, no order number is assigned and if you click the # it results in a 404.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions