Fast product view plugin for Shop-Script
FeaturesThe plugin gives customers the ability to quickly view information about a product from a catalog pages. After clicking on the «Fast Preview» link a modal window opens with information about the product.
SpecificityTo output the «Fast Preview» link in shop frontend paste in the product template the following code:
{shopFprviewPlugin::displayButton($product.id)} - as a method parameter it is necessary to specify the product id.
You need to edit the template that generates the product lists. In the basic themes of Shop-Script is used for this list-thumbs.html template. Add the next code inside the foreach:
{shopFprviewPlugin::displayButton($p.id)}
The pictures show the principle and the approximate location of the calling plugin can be added to template files of basic design theme Custom. In other themes the plugin is installed the same way.