#imt-pricingtable-deleteproduct
1 messages · Page 1 of 1 (latest)
@fervent anchor hello! What is the emergency here exactluy? There's no emergency to delete a Product. Just don't use the Product that's all
This Discord server is for developers asking questions about their own code.
it's not deleting
router.get("/prices", async (req, res) => {
const prices = await stripe.prices.list({
apiKey: process.env.STRIPE_SECRET_KEY,
});
res.status(200).json(prices);
}); this is my code for get pricing list
I mean you have a clear Delete product button that's greyed out with a clear text explaining why you can not delete it
You can not delete that Product. So don't try to delete it since you can't. You can mark it as inactive
Change your PricingTable to remove that Product/Price instead
imt-pricingtable-deleteproduct
@fervent anchor this Discord server is for developers asking questions about their code. You're asking about a no-code solution where you configure a PricingTable in the Dashboard. All you need to do is go in the Dashboard, find that PricingTable and edit it to change the Products and Prices included in it.
Sorry why do you keep sending big pictures like this?
Your code has nothing to do with the PricingTable you shared earlier
I know you're the dev but you seem to be quite lost or mixing up everything. PricingTables are a no-code solution, you configure it in the Dashboard and render it with a bit of HTML