Announcement

Collapse
No announcement yet.

Related Products carousel work for some products

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

    #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


      #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


        #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


        https://www.americancoffeeservices.com/p/CR1CM.html

        Highly caffeinated
        http://www.coffeehouseexpress.com

        Comment


          #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


            #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