Getting started with WooCommerce Quickview
To install the plugin:
- Navigate to
Plugins > Add New > Upload.
Choose File, and choose the file
jck_woo_quickview.zipfrom your CodeCanyon download zip.
- Once uploaded, click activate plugin.
- The plugin is now installed and activated.
- The settings panel can be found under
WooCommerce > Quickview. Here you can adjust a variety of settings, all with detailed explanations.
Once activated, simply open a category page on your WooCommerce store. When you hover over a product image you will see the Quickview icon appear at the bottom left.
By clicking the Quickview icon, a modal box will appear. Your potential customer can then:
- View the important product information, including: Price, Description and Variations.
- Add the product to their cart, via ajax or page reload.
- View all images of the product.
Manually Insert the Quickview Button
To insert the configured button into your product loop using PHP, simply add the following to the top of the file where you are inserting the button:
<?php global $jckqv; ?>
Then, to display the button in your loop (or anywhere if you pass the correct Product ID), use the following code:
<?php $jckqv->display_button($product_id); ?>
To Insert a button anywhere on your WooCommerce website using HTML, simply use the following code:
<a href="http://www.yourdomain.com/yourproduct" data-jckqvpid="42">Your Link Text</a>
42is the ID of your product to open in the popup.
- You can use any text, icon or image as the link.
WooCommerce Quickview will work on any element with the data-jckqvpid attribute. For example, you could use a span tag rather than an anchor.
The following is a list of hooks available in the plugin, making it easy to customise:
Modifying a Template
Quickview comes with a variety of template files that build up the modal display. You can modify these by copying any of the files in
Although it is possible to do the above, I'd recommend using the hooks, rather than modifying a whole template, in order to prevent any conflicts with future updates.
[fix] Fix Ajax add to cart issue when attribute name/value contains special chars
[update] Compatibility with WooThumbs
[update] Update dependancies
[update] Relative admin_url
[update] Author tags
[fix] Issue where add to cart buttons stopped working after opening quickview
[update] Add compatibility for WooCommerce Attribute Swatches by Iconic
[fix] Ajax add to cart issues
[update] New settings framework refinements
[update] Change SKU on variation selection
[fix] Require wp util and jquery for script
[update] Add RTL support
[fix] Gallery next/prev not working because of WPML 3.2.6 pid fix
[fix] Button styles
[fix] Issue where placeholder image was showing
[update] Settings framework updated - backup before update, and re-save settings if required after update.
[fix] WPML issue - pid moved in ajax call
[fix] Updated scripts
[update] Compatibility with Shop the Look plugin
[fix] Updated for Woo 2.5.0
[update] Compatibility with "Show Single Variations" plugin!
[fix] Add to cart bugs with new WooCommerce versions and variable products
[update] Tidy and refine code
[update] New gulpfile and SCSS methods [admin]
[fix] Remove nonce check on add to cart to prevent cache issues
[update] Add templating system to allow template overrides]
[update] Filename change to stay in line with WP coding standards Important
[fix] Set spinner width explicitly
[update] Change &$this to $this
[Fix] YITH Wishlist compatibility
[Fix] Ajax add to cart in some instances
[Fix] Set cart cookies when adding to cart, if they're not already set
[Update] New image slider to allow for auto height and offer a better experience
[Update] Add Plus/Minus buttons
[Update] Refactoring classnames and CSS
[Update] Move dynamic CSS to head
[Fix] Fix variable add to cart when using gallery mode
[Fix] Temporary fix for grouped products
[Fix] Removed duplicate jcksf messages
[Update] Added error notification for "Sold Individually" products, and other errors.
[Fix] Fixed group products when adding to cart via AJAX.
[Updated] Tested with WooTheme swatches and Variations plugin.
[Update] Added translation files
[Update] Added option to close quickview after adding to cart
[Update] Added hooks to popup for customisation
[Fix] Changed admin scripts to only load on options page
[Fix] Fixed ajax add to cart on some themes
[Update] Updated the AJAX add to cart functionality to update WooCommerce Cart Widget
[Fix] Allow for nested hover
[Fix] Updated for Old WooCommerce
[Fix] Fixed AJAX add to cart URL
[Update] Added setup_postdata, and globals into includes - just in case
[Update] Rewritten for version 2.1.2 of WooCommerce
[Update] Overhaul of options page
[Update] Ajax add to cart
[Update] Default styles
[Update] Option to manually insert button
[Update] Minor translation update
[Fix] Prevent QV from loading on all products in "Related"
[Update] Changed to official AJAX method
[Update] Added option to show full desc or excerpt
[Fix] Moved constructor to remove error
[Update] Responsive functionality
[Update] Gallery functionality
[Update] Options Page to enable/disable product data
[Update] Now utilises ajax