Announcement

Collapse
No announcement yet.

Add to cart with attributes oddness

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

    Add to cart with attributes oddness

    I have an odd issue when a product has an attribute and is added to the cart, it goes to the basket screen. But if the product has no attributes and is added to the cart, the mini-basket model displays as expected.


    I had this problem on the dev site set up for the store and started over with a fresh dev site to try and isolate the issue.

    This product page works as I think it should:
    http://leslie-kirk.mivamerchantdev.com/TM-SPTTEL.html

    This product page goes to the BASK screen - not what I want:
    http://leslie-kirk.mivamerchantdev.com/MUNPEN.html

    What am I screwing up?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Hi Leslie,

    It looks like your issue is stemming from the custom layout. On pages with attributes, you are getting JavaScript errors which is causing the add to cart mini-basket function to not fire. The main error I am seeing is the missing of the ID for the product price. If you do not plan on having the price update with attribute changes, you could comment that function out in your scripts file.
    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


      #3
      Originally posted by Matt Zimmermann View Post
      Hi Leslie,

      It looks like your issue is stemming from the custom layout. On pages with attributes, you are getting JavaScript errors which is causing the add to cart mini-basket function to not fire. The main error I am seeing is the missing of the ID for the product price. If you do not plan on having the price update with attribute changes, you could comment that function out in your scripts file.

      I did just change the Product Price - that makes sense. I'll put it back the way it was and see if that fixes it. That may explain a lot. Thanks! I'll post my findings.

      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        Originally posted by lesliekirk View Post


        I did just change the Product Price - that makes sense. I'll put it back the way it was and see if that fixes it. That may explain a lot. Thanks! I'll post my findings.
        Thanks Matt, that was it. I rolled back to the default code and it plays nicely. That is soooo oddly configured.
        Leslie Kirk
        Miva Certified Developer
        Miva Merchant Specialist since 1997
        Previously of Webs Your Way
        (aka Leslie Nord leslienord)

        Email me: [email protected]
        www.lesliekirk.com

        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

        Comment

        Working...
        X