Announcement

Collapse
No announcement yet.

Iron & Wool - Out of Stock JS not working

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

    Iron & Wool - Out of Stock JS not working

    I noticed something on my Iron & Wool install (both on my client dev site and my Miva provided dev store).

    If you have a product that has 3 variants.....and you track inventory. If you place say variant 3 out of stock here's what happens:

    Page loads and variant 1 is in stock and the Add to Cart button is shown.
    Click on variant 3 which is OOS - the button turns grey and the text is replaced with Out of Stock
    Click back to variant 1, the button is turned back to black and is clickable, but the button text remains Out of Stock.

    Any ideas on the fix?

    -Kevin
    Web Design and Development, Internet Marketing
    Lancer Media, Inc.

    #2
    Hi Kevin -

    The fix for this bug is here:

    http://www.miva.com/forums/forum/onl...to-add-to-cart
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Brennan,

      Thanks. That fixed it for the main PROD pages. However, I notice the JS function doesn't even affect the Quick View popup. Initially I tried making the button the same code as the PROD page. But by doing that, it made the Quick View want to load the product via Ajax.

      Any ideas? Not sure what code is used to call the out of stock function. I guess I could make another one?

      -Kevin
      Web Design and Development, Internet Marketing
      Lancer Media, Inc.

      Comment

      Working...
      X