Skip to content

The WooCommerce Product Carousel plugin provides a sleek and customizable product carousel for WooCommerce stores.

License

Notifications You must be signed in to change notification settings

mnestorov/wp-woocommerce-product-carousel

 
 

Repository files navigation

WordPress Logo

WordPress - WooCommerce Product Carousel

Licence

Overview

The WooCommerce Product Carousel plugin provides a sleek and customizable product carousel for WooCommerce stores. Enhance your online store's user experience by showcasing your products in a dynamic and responsive carousel.

Features

  • Customizable product selection: Choose exactly which products you want to display in the carousel.
  • Responsive design: Ensures a great experience across all devices.
  • Customizable texts: Easily change the texts for "Save", "Add To Cart", and "Exclusive" directly from the plugin's settings.
  • Variable product support: Displays discounts and allows users to add variable products to their cart from the carousel.
  • Styling options: Modify the appearance of the carousel with custom CSS.
  • Supports WooCommerce up-sell and cross-sell features.
  • Admin settings to customize the number of slides to show, slides to scroll, autoplay, and speed.
  • Display the carousel on checkout and thank you pages with specific order details.
  • AJAX-based product search for quick selection in the admin panel.
  • Integration with Select2 for enhanced product selection in settings.
  • Custom CSS to further customize the carousel appearance.
  • Time-based restrictions for adding products post-purchase.

Installation

  1. Upload the plugin files to the /wp-content/plugins/wp-woocommerce-product-carousel directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

Usage

To display the product carousel, use the shortcode [mn_pc_product_carousel] in your posts or pages. You can customize the carousel further with shortcode attributes or via the plugin's settings page.

Shortcode Attributes

  • ids: Comma-separated list of product IDs to display in the carousel.
  • speed: Scrolling speed in milliseconds (default is 300).
  • autoplay: Enable or disable autoplay (true or false).
  • autoplay_speed: Speed of autoplay in milliseconds (default is 3000).
  • slides_to_show: Number of slides to show at once (default is based on the plugin settings).
  • source: Source context for the carousel (e.g., checkout_page, thankyou_page).
  • order_id: Order ID to reference on thank you pages.

Example Shortcode Usage

[mn_pc_product_carousel ids="1,2,3" speed="500" autoplay="true" autoplay_speed="3000" slides_to_show="1"]

Customizing Texts

Navigate to the plugin's settings under the WooCommerce section in your WordPress admin. Here you can find options to customize the texts for "Save", "Add To Cart", and "Exclusive".

Admin Settings

Go to WooCommerce > Products Carousel. Customize various settings such as:

  • Display Arrows
  • Arrow Color
  • Display Dots
  • Dot Color
  • Slides to Show
  • Slides to Scroll
  • Slide Padding
  • Scrolling Speed
  • Autoplay Indicator
  • Autoplay Speed
  • Infinite Loop
  • Old Discount
  • Custom Title
  • Save Text
  • Add To Cart Text
  • Label Text
  • Custom CSS

Requirements

  • WordPress 4.7+ or higher.
  • WooCommerce 5.1.0 or higher.
  • PHP 7.2+

Changelog

For a detailed list of changes and updates made to this project, please refer to our Changelog.

Contributing

Contributions are welcome. Please follow the WordPress coding standards and submit pull requests for any enhancements.


License

This project is released under the GPL-2.0+ License.

Releases

No releases published

Languages

  • PHP 100.0%