Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/veerajxcode/chooseyourbestsellingproducts

A plugin that allows you to show best selling products automatically and manually.
https://github.com/veerajxcode/chooseyourbestsellingproducts

babel composer gutenberg-blocks javascript linting reactjs webpack woocommerce wordpress wordpress-plugin wpcs

Last synced: 11 days ago
JSON representation

A plugin that allows you to show best selling products automatically and manually.

Awesome Lists containing this project

README

        

# Choose Your Best Selling Products (CBSP)

[![Project Status: Active.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)

A WordPress plugin to showcase top selling products in a customizable grid layout, with flexible options for both automatic and manual product selection.

## Maintainer

| Name | Github Username |
|--------------------------------------------------------|-----------------|
| [Veeraj Yadav](mailto:[email protected]) | @veerajxcode |

## Features

1. **Customizable Product Grid Layout**: Configure the number of columns and rows, and customize the information displayed (image, title, price, view button).

2. **Automatic Product Display**: Fetch and display WooCommerce's top-selling products from the past week using WooCommerce's API.

3. **Manual Product Selection**: Choose specific products manually with a fast-loading product dropdown featuring search for large catalogs.

4. **Real-Time Preview**: Make changes in the Gutenberg editor and see updates in real-time.

5. **Responsive Design**: Built with Bootstrap, ensuring the grid looks great on all devices.

## Getting Started :clipboard:

These instructions will help you get the plugin up and running on your WordPress site.

### Prerequisites :door:

You need to have WooCommerce installed and activated on your WordPress site.

### Installation :wrench:

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install it via the WordPress plugin screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to the Gutenberg editor, search for the "CBSP" block, and customize your settings.

## Features in Detail

### Product Grid Layout

- Option to configure the grid with the number of columns and rows.
- Products are displayed in a responsive grid, pulled either automatically or manually.

### Manual and Automated Product Selection

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

### Customizable Product Display Settings

- Choose whether to show or hide details like image, title, price, and the "View Product" button.

### Performance Features

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

## Author :pencil:

* **[Veeraj Yadav]**

## License :scroll:

This plugin is licensed under GPLv2 or later. See the full license here: [GPLv2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).