The “yith_quick_view” shortcode allows displaying a button/icon that opens a quick view popup of a specific product on any page and it both works for the free and premium version.
The shortcode accepts the following parameters:
- product_id: id product to show in the modal window
- type: [icon/button] choose whether to show a button or an icon (this is only available with the premium plugin version)
- label: button label
Example of the shortcode use
[yith_quick_view product_id=51562 type=”button” label=”Quick View”]