#imt-pricingtable-deleteproduct

1 messages · Page 1 of 1 (latest)

gentle knollBOT
fervent anchor
#

Hello it's emergecy

#

please help anyobody

ebon cave
#

@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.

fervent anchor
#

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

ebon cave
#

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

fervent anchor
#

but If i mark as inactive it's still show on pricing table

ebon cave
#

Change your PricingTable to remove that Product/Price instead

#

imt-pricingtable-deleteproduct

fervent anchor
#

how I can't do it

#

@ebon cave

ebon cave
#

@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.

fervent anchor
#

I'm the developer but I need to delete this table also

ebon cave
#

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

fervent anchor
#

ok

#

but why your support system is so rude man?

#

why you talking like this 🙂