Related Products carousel work for some products

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Cockerham
    Mighty Mivite




    • Mar 2006
    • 754

    #16
    Is there an official fix for this? I have the same problem. The error crashes my related products slider.
    Highly caffeinated
    http://www.coffeehouseexpress.com

    Comment

    • Matt Zimmermann
      Mega Mivite










      • Apr 2008
      • 2482

      #17
      Hi Jim,

      What error are you seeing and can you post a link?
      Matt Zimmermann

      Miva Web Developer
      Alchemy Web Development
      https://www.alchemywebdev.com
      Site Development - Maintenance - Consultation

      Miva Certified Developer
      Miva Professional Developer

      https://www.dev4web.net | Twitter

      Comment

      • Jim Cockerham
        Mighty Mivite




        • Mar 2006
        • 754

        #18
        Originally posted by Matt Zimmermann View Post
        Hi Jim,

        What error are you seeing and can you post a link?
        I only get the error on products that use attributes and it kills the javascript for the related products slider. Other products work fine.

        Uncaught TypeError: Cannot read property 'value' of null
        at updateProductDisplayPrice (scripts.js:511)
        at Object.jsPROD (scripts.js:511)
        at scripts.js:13
        at Object.init (scripts.js:14)
        at scripts.js:927


        Check out the deal on Cuisinart Private Collection Coffee Pod at American Coffee Services


        Highly caffeinated
        http://www.coffeehouseexpress.com

        Comment

        • Matt Zimmermann
          Mega Mivite










          • Apr 2008
          • 2482

          #19
          Hi Jim,

          This is probably related to your form not having a Quantity input. I am assuming that once you are logged in, the full form appears with a quantity. If this is the case, I would recommend adding the following to your form for the non-logged in state:
          Code:
          <input type="hidden" name="Quantity" value="">
          Matt Zimmermann

          Miva Web Developer
          Alchemy Web Development
          https://www.alchemywebdev.com
          Site Development - Maintenance - Consultation

          Miva Certified Developer
          Miva Professional Developer

          https://www.dev4web.net | Twitter

          Comment

          • Jim Cockerham
            Mighty Mivite




            • Mar 2006
            • 754

            #20
            Originally posted by Matt Zimmermann View Post
            Hi Jim,

            This is probably related to your form not having a Quantity input. I am assuming that once you are logged in, the full form appears with a quantity. If this is the case, I would recommend adding the following to your form for the non-logged in state:
            Code:
            <input type="hidden" name="Quantity" value="">
            Thanks Matt! Yep that fixed it.
            Highly caffeinated
            http://www.coffeehouseexpress.com

            Comment

            Working...
            X