A WordPress plugin to showcase top selling products in a customizable grid layout, with flexible options for both automatic and manual product selection.
Name | Github Username |
---|---|
Veeraj Yadav | @veerajxcode |
-
Customizable Product Grid Layout: Configure the number of columns and rows, and customize the information displayed (image, title, price, view button).
-
Automatic Product Display: Fetch and display WooCommerce's top-selling products from the past week using WooCommerce's API.
-
Manual Product Selection: Choose specific products manually with a fast-loading product dropdown featuring search for large catalogs.
-
Real-Time Preview: Make changes in the Gutenberg editor and see updates in real-time.
-
Responsive Design: Built with Bootstrap, ensuring the grid looks great on all devices.
Below is a preview of the CBSP plugin in action:
These instructions will help you get the plugin up and running on your WordPress site.
You need to have WooCommerce installed and activated on your WordPress site.
- Upload the plugin folder to the
/wp-content/plugins/
directory, or install it via the WordPress plugin screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Go to the Gutenberg editor, search for the "CBSP" block, and customize your settings.
- Option to configure the grid with the number of columns and rows.
- Products are displayed in a responsive grid, pulled either automatically or manually.
- Automatically display top-selling products based on WooCommerce’s last week’s sales data.
- Manual mode allows users to search for and select specific products.
- Choose whether to show or hide details like image, title, price, and the "View Product" button.
- The plugin optimizes data fetching by loading only essential details in manual mode (product ID, name, price).
- Includes virtual scrolling and infinite loading for better handling of large product catalogs.
- [Veeraj Yadav]
This plugin is licensed under GPLv2 or later. See the full license here: GPLv2.