Docs

Product Catalog Articles & FAQ

delete, item, price, PC 2.0

Delete an item or item price in PC 2.0

461783

2022-12-31T16:20:56Z

2024-08-30T10:37:32Z

389

0

0

257399

Delete an item or item price in PC 2.0

Delete an item or item price in PC 2.0 

Scope

How to delete an item price in PC 2.0?

Trying to delete a plan price in PC 2.0 but getting an error 'cannot delete as items are linked'.

Summary

Deleting an item price like plan or addon or charges in PC 2.0 might not be possible directly if there are many linked entities(subscriptions, quote,s or invoices). Those need to be removed first.

Solution

If you want to delete a plan price let's say test-USD-monthly but this item has subscriptions and invoices and also has a quote generated and all are linked to the item price.

Then you have to delete the quote and invoice first then the subscription and at last the item price.

Example 1: Delete the plan zzz1 but have monthly frequency configured and have the subscription also attached along with the invoice and transactions.

Step 1: Delete the subscription and related invoice and transaction using the bulk operation

The bulk operation will get scheduled and it will take time based on the data here I had one record so it was deleted instantly.

Check the operation logs if the scheduled action is completed.

Step 2: Delete the price point now then delete the plan item

Example 2: If plan zzz1 has addons or charges to be added on specific conditions, then those also need to remove before deleting the plan as it will archive the plan and will not allow deleting the plan

We have a Differential Pricing feature in the PC2.0 version.

If you are trying to delete the addon and still getting archived then you need to check the differential pricing linked to addon item. First unlink the differential pricing and then delete the addon item.

Example 3:

Step 1: Delete the addon zzz333

But this addon has the price points in USD currency for monthly and yearly frequency

Also, have differential pricing set for the plan zzz1

Step 2: Remove the differential pricing first then you will be able to delete the price point of the addon and now you can delete the addon as well.

Related Articles 

What are the improvements on the revamped item detail page on PC 2.0?
Editing a Plan's Pricing & Billing Frequency
Will a new plan price affect the existing subscriptions?
Is there any option to add a trial period for a subscription/plan?
How do I collect the setup fee upfront for a trial subscription?
How do I setup paid trial for my plans, in Chargebee?
What is the maximum duration of a trial period that I can offer using Chargebee?
Error : ChargeBee_InvalidRequestException
How do I create a zero-dollar or zero cost plan in Chargebee?
What happens when I delete a plan in Chargebee?
How to configure plans with different currencies in bulk?
Unable to remove trial for a plan
Unable to edit the free quantity in per-unit price plans
How to change plan pricing in PC 2.0?
How to configure trial period for a plan in PC 2.0?
Changing to a plan with different trial days
What is the difference between price override and differential pricing for addons/charges?
How to set up site wide billing frequency settings in Product Catalog 2.0?
How to create a Plan and view plan ID in PC 2.0?
How to create a plan in PC 2.0 with multiple currencies and billing frequencies?
I am unable to find the invoice name field while creating the plan.
Is it possible to change the ID of the plan on my Chargebee site?
How to define a product with fixed price for a specific number of units and then with a unit price??
Error:item_price_ids already applicable for item_type plan cannot be removed
What are pricing models available for plans, addons & charges in Chargebee?
What is the difference between price override and creating customer specific plans or addons?
How to find the plans that are associated with a feature using API?
How to combine and configure a per unit and flat-free pricing model?
Is it possible to have a single plan with different options for contract length?(such as 3 months, 6 months or forever).
Was this article helpful?
Loading…