How to bulk delete products from dynamically-priced bundles subscriptions
You may need to remove out-of-stock products or permanently delete items from a bundle to ensure smooth order processing or phase out discontinued products. The Bulk updates tool enables you to efficiently remove products from dynamically-priced bundles across multiple customer subscriptions without using the API. This helps prevent charge errors and keeps bundles up to date without disrupting the customer experience.
This guide provides instructions on bulk deleting products from dynamically-priced bundles.
- Migrated Shopify Checkout Integration
- Shopify Checkout Integration
Before you start
- You can only modify subscriptions with dynamically-priced bundles.
Step 1: Create a list of subscription IDs for removal
Access the export selection through the Export Builder to obtain subscription IDs of the products you are removing:
- In the merchant portal, click Tools & apps and select Exports.
- Click Create export, select Bundle selections - filtered by contents option.
- Select Add products under Filter by bundle products and filter by the product you want to delete.
Step 2: Format the CSV file
Every column in the spreadsheet must begin with a header, representing the available properties required for managing and completing the update. Recharge uses these headers to process the bulk update.
- Filter the CSV file to identify subscriptions containing the product you want to delete. Remove any irrelevant rows.
- In your CSV file, include the two required column headers: subscription_id and external_variant_ids_to_delete (the variant IDs of the products to delete).
Step 3: Perform the bulk delete
After preparing the CSV file, import the file into Recharge using the Import tool:
- From the merchant portal, click Tools & Apps and select Bulk updates.
- Click Import updates.
- Click on Select your update type, choose Delete dynamic bundle contents from the dropdown menu, and click Next.
- Upload the prepared CSV file and click Next. You can download the example template from the modal or use example.csv as a reference CSV file.
-
Confirm the details of your update and select Prepare update.
-
Click Process update, type DELETE to confirm, and then click the Delete bundles button.
-
The action will transition to Processing. This process may take several minutes to complete. You will receive email notifications to keep you updated on the progress.
Step 4: Review the updated subscriptions
Monitor the Bulk updates page for progress updates and confirm when the bulk action transitions to Complete.
After the update processes, Review the updated subscriptions to confirm that Recharge successfully deleted the products, or download the results to check for any errors.
Considerations
Consider the following when bulk deleting a product from a dynamically-priced bundle:
Consideration |
Notes |
Bundle size requirements
|
Recharge does not validate bundle size, so you must ensure that removing products does not leave the bundle subscription with fewer than the required items. For example, if a bundle requires a minimum of three items, removing products may leave customers with fewer than the required items (e.g., two items or less). Failing to meet the minimum requirement could result in errors when processing the bundle order. |
Deleting products from a bundle |
Deleting a product from a bundle is irreversible. Once you delete a product, you cannot re-add it to the bundle without using the API. |
Bundle subscription
|
If you remove all selections from a customer's bundle subscription, the order will include fallback contents if they are set in the bundle settings. |