Re: Quick Look or Quick View of Product
Hey Guys -
While you can use image machine on the CTGY, PLST, SRCH pages, it would only be good at showing an image, not necessarily a true quick look which usually allows you to buy from that page. We did a quick look for one of our clients:
http://www.scottevest.com/v3_store/subindex_shirts_hoodies.shtml
It uses a light box to display a new product page template we created for the smaller space. When you click on the quick look button the light box loads the regular Miva PROD page where we pass a parameter in url for quicklook (&quicklook=1)
We then check for this parameter on the PROD page and if it exists we display a different version of the product page template, one that fits in the smaller space.
To keep the code clean we separate out this code into its own tab using the Miva Content Item.
Here is the code we have on the PROD page:
This is a simple way to get a completely different template to show for things like this where you need a different layout. This combined with a simple lightbox script (Here were using fancybox) can give you a really nice functioning quicklook on your category pages.
Hey Guys -
While you can use image machine on the CTGY, PLST, SRCH pages, it would only be good at showing an image, not necessarily a true quick look which usually allows you to buy from that page. We did a quick look for one of our clients:
http://www.scottevest.com/v3_store/subindex_shirts_hoodies.shtml
It uses a light box to display a new product page template we created for the smaller space. When you click on the quick look button the light box loads the regular Miva PROD page where we pass a parameter in url for quicklook (&quicklook=1)
We then check for this parameter on the PROD page and if it exists we display a different version of the product page template, one that fits in the smaller space.
To keep the code clean we separate out this code into its own tab using the Miva Content Item.
Here is the code we have on the PROD page:
Code:
<mvt:if expr="g.quicklook EQ 1 "> <mvt:item name="quicklook_template" param="content" /> <mvt:exit /> </mvt:if>
Comment