Deliver superior customer experiences with an AI-driven platform for creating and deploying cognitive chatbots
Deliver Awesome UI with the most complete toolboxes for .NET, Web and Mobile development
Automate UI, load and performance testing for web, desktop and mobile
A complete cloud platform for an app or your entire digital business
Detect and predict anomalies by automating machine learning to achieve higher asset uptime and maximized yield
Automate decision processes with a no-code business rules engine
Optimize data integration with high-performance connectivity
Connect to any cloud or on-premises data source using a standard interface
Build engaging multi-channel web and digital experiences with intuitive web content management
Personalize and optimize the customer experience across digital touchpoints
Build, protect and deploy apps across any platform and mobile device
The content you're reading is getting on in years
This post is on the older side and its content may be out of date.
Be sure to visit our blogs homepage for our latest news, updates and information.
When working with the Ecommerce module you might encounter the need to remove multiple products from the CMS at once. By default, the backend grid view allows you to delete one product at a time, which will slow down the process, if you need to remove several products at once.
Another option for you would be to remove the desired products programmatically, but still, this might require extra resources if your developers are not available and you need to remove certain products at the moment. Therefore I will present you a non - programmatic way of adding a delete button in the backend product list view.
In order to achieve the desired result, we will have to add a new CommandWidget in the Toolbar section of the grid, displaying the products in the backend.
By default, the grid view looks like this on our test project:
First we need to navigate to the settings section of the project:
Administration -> Settings -> Advanced -> ContentView -> Controls -> ProductsBackendDefinitionName -> Views -> ProductsBackendMaster -> Toolbar -> Sections -> toolbar -> Items.
Then we need to create a new CommandWidget:
In the new section, we need to fill in several fields:
Command name: groupDelete
Command button type: Standard
CommandText: Delete selected products
After saving the new widget the Ecommerce module will contain a new delete button in the toolbar, which can be used for deleting selected products:
View all posts from The Progress Team on the Progress blog. Connect with us about all things application development and deployment, data integration and digital business.
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.