Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard deleting products doesn't hard delete it's variant and purchasable #5354

Closed
gijsstegehuis opened this issue Dec 18, 2019 · 1 comment
Closed

Comments

@gijsstegehuis
Copy link

Description

Hard deleting products only hard deletes the product itself and not the purchasable + variant.
This in turn leads to users not being able to use the same SKU after the product has been hard deleted.

Steps to reproduce

  1. Add a product with variant
  2. Hard delete the product
  3. Add a new product using the same variant SKU used in step 1

Additional info

  • Craft version: 3.3.18.2
  • PHP version: 7.3.12
  • Database driver & version: PostgreSQL 11.5
  • Plugins & versions: -
@gijsstegehuis gijsstegehuis changed the title Hard deleting products doesn't hard delete variant and purchasable Hard deleting products doesn't hard delete it's variant and purchasable Dec 18, 2019
@gijsstegehuis
Copy link
Author

Moved it to craftcms/commerce#1186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant