Announcement

Collapse
No announcement yet.

Quickview Not Working on any other page besides Category Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Quickview Not Working on any other page besides Category Page

    So, I am trying to implement the "quick view" feature from the Category pages. You hover over the thumbnails and a "quick view" button pops up, and you click on it to have some sort of 'lightbox' (excuse me if i'm using the incorrect terminology) pop up with pics and info from the products' page. Everything works properly on the Category page.

    Now, i've taken this code:

    <mvt:if expr="l.settings:seo_settings:sl_active">
    <span class="button button-square bg-olive white quick-view" data-product-link="&mvte:product:link;?show=quickview">QUICK VIEW</span>
    <mvt:else>
    <span class="button button-square bg-olive white quick-view" data-product-link="&mvte:product:link;&show=quickview">QUICK VIEW</span>
    </mvt:if>

    and placed in the similar spots for the Carousel on the storefront page and also the Carousel for the Related Products section on product pages.

    The 'quick view' bar shows up when I hover over the thumbnails on both of those pages, but when I click, no lightbox comes up and it just takes me to the product page.

    I know i'm missing a key step, but I don't know what it is.

    Can anyone point me in the right direction please? It would be much appreciated.

    -Ilyoung

    #2
    Re: Quickview Not Working on any other page besides Category Page

    Ran into similar problem, this might help:
    http://extranet.miva.com/forums/show...577#post430577
    Highly caffeinated
    http://www.coffeehouseexpress.com

    Comment


      #3
      Re: Quickview Not Working on any other page besides Category Page

      Originally posted by Jim Cockerham View Post
      Ran into similar problem, this might help:
      http://extranet.miva.com/forums/show...577#post430577
      Thank you so much for your input Jim.

      I have tried messing around with what you did to get it to work, but i'm still having no luck.

      If you have the time, can you explain what exactly would need to be changed to that code in order to get it working on the related products carousel on the PROD page, as well as a carousel displaying items from within a single specified category on the SFNT?

      It would be greatly appreciated.

      Thanks.

      -Ilyoung

      Comment


        #4
        Re: Quickview Not Working on any other page besides Category Page

        I your case I think you can probably just copy the javascript from the jsCTGY function to the jsPROD function in the scripts.js file. I tested this and it worked but I can't guarantee it. I'm not a javascript guy. Locate the scripts.js file in the /js directory. On line 264 is the Quick View script for the CTGY page. Copy this line to a new line under line 267 (the jsPROD: function). There may be a better way to do this, but it seems to work. Then you can probably do the same for the jsSFNT function on line 253, but I did not try that.
        Highly caffeinated
        http://www.coffeehouseexpress.com

        Comment


          #5
          Re: Quickview Not Working on any other page besides Category Page

          Thanks for the extra advice Jim. It really is very much appreciated.

          I have tried editing the js file, but it still does not seem to be wanting to work. I will have to keep researching, and most likely than not, it's probably just something i'm doing incorrectly on my end because of my lack of coding knowledge.

          Thanks again.

          -Ilyoung

          Comment

          Working...
          X