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: the product ID to show in the modal window
- type: [icon/button] choose whether to show a button or an icon (available only for the premium version)
- label: button label
Example of the shortcode use
[yith_quick_view product_id=51562 type=”button” label=”Quick View”]