#reid-product-prices
1 messages · Page 1 of 1 (latest)
I tried that, and I get the same error.
There is one price on the product. I archived it and tried deleting it through the dashboard, and through the script that I originally came across this issue.
do you have a list of requests for archiving Prices and archiving the Products, can you share those here?
Sure. Heres the most recent req to archive the price: req_OA0aBxYZMHAAFd
This was done through the dashboard
here's one for deleting the product: req_VczTWWojjWrAsf
Hi 👋 I'm taking over for @coarse sundial . Give me a minute to catch up.
Hi!
So looking at your latest product deletion request and the associated product I can see it has a price associated with it.
Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it.
The next question is, how do I get rid of the price...
Right. I also tried deleting the price, but it wont let me since its been used in a transaction. This seems like a good safeguard for live mode, but... constraining in test mode.
Yeah that makes sense. The tough part here is balancing making testing more flexible vs. being an accurate representation of how live mode will behave.
I just found the 'delete all test data' button, which is what the script I was running does anyway. Its part of our seed script. We wipe our db, and the stripe account and build it back up. I should be unblocked after this
Okay yeah I thought you were trying to just delete some specific data. That button is kind of the nuclear option
haha, yeah. I wipe the account pretty regularly, but always with that script. Did not know the nuclear option existed. Thanks for your time!