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

πŸ₯”βœ¨ Marketplace: Selling Products: Archiving Products #2023

Open
2 of 3 tasks
Tracked by #1324
zspencer opened this issue Dec 12, 2023 · 0 comments
Open
2 of 3 tasks
Tracked by #1324

πŸ₯”βœ¨ Marketplace: Selling Products: Archiving Products #2023

zspencer opened this issue Dec 12, 2023 · 0 comments
Assignees

Comments

@zspencer
Copy link
Member

zspencer commented Dec 12, 2023

  • When πŸ₯”βœ¨ Marketplace: Selling πŸ₯‘ProductsΒ #1324, it is sometimes necessary to remove a Product from sale. In cases where the Product has been Ordered, we can't delete the record completely; as it would result in invalid Order data. In cases where the Product has not been Ordered we can safely delete it.
  • My instincts are that it would be better for Products to go from Listed to Delisted to Destroyed

Use Cases

  • Archiving Products
  • Deleting Products that have not been Ordered
  • Relisting a Product that had been previously Archived
@zspencer zspencer changed the title πŸ₯” Removing Products πŸ₯”βœ¨ Marketplace: Selling Products - Delisting Products Dec 12, 2023
@zspencer zspencer changed the title πŸ₯”βœ¨ Marketplace: Selling Products - Delisting Products πŸ₯”βœ¨ Marketplace: Selling Products: Delisting Products Dec 12, 2023
zspencer added a commit that referenced this issue Dec 13, 2023
- #2023

This makes sure once we archive a product it can't be purchased for
sale.

I still need to add the actual buttons to archive the product.
@zspencer zspencer changed the title πŸ₯”βœ¨ Marketplace: Selling Products: Delisting Products πŸ₯”βœ¨ Marketplace: Selling Products: Archiving Products Dec 13, 2023
zspencer added a commit that referenced this issue Dec 13, 2023
- #2023

Removing products from sale seems useful
zspencer added a commit that referenced this issue Dec 15, 2023
- #2023

This makes sure once we archive a product it can't be purchased for
sale.

I still need to add the actual buttons to archive the product.
zspencer added a commit that referenced this issue Dec 15, 2023
- #2023

Removing products from sale seems useful
zspencer added a commit that referenced this issue Dec 15, 2023
- #2023

`Products` may be `Archived`, and `Removed` if `#unordered?`. Archived `Products` are not available for sale.

This also wraps the `Products#new` and `Products#edit` pages with the `Marketplace::ManagementComponent`
which is a much better experience.
zspencer added a commit that referenced this issue Dec 17, 2023
- #2023

Archived `Products` are no longer shown on the `Products` page.
zspencer added a commit that referenced this issue Dec 20, 2023
…2038)

- #2023

Archived `Products` are no longer shown on the `Products` page.
zspencer added a commit that referenced this issue Dec 28, 2023
- #2014
- #2023

This allows a `Product` and `DeliveryArea` to be Restored; and also
makes their forms look the same.
zspencer added a commit that referenced this issue Dec 28, 2023
- #2014
- #2023

This allows a `Product` and `DeliveryArea` to be Restored; and also
makes their forms look the same.
zspencer added a commit that referenced this issue Jan 4, 2024
- #2014
- #2023

This allows a `Product` and `DeliveryArea` to be Restored; and also
makes their forms look the same.
@rosschapman rosschapman self-assigned this Jan 20, 2025
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

2 participants