Announcement

Collapse
No announcement yet.

Error message with inventory variants

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

    Error message with inventory variants

    I'm new to the use of inventory variants for attributes. I have overlook something because I know get an error message when I access the product detail page:

    It says

    Unable to locate form for inventory attributes

    Can someone tell what I missed?

    Thanks,
    Chet Vincentz

    inventory_attribute_error.JPG
    Thanks,
    Chet Vincentz
    [email protected]

    www.electrodyne.cc Quality Motoring Accessories
    www.racdyn-usa.com BMW, MINI & Porsche performance
    www.artisticartifacts.com Creative art materials

    #2
    Hey Chet,

    Here's what we went through the last time this came up

    http://www.miva.com/forums/forum/onl...-error-message

    Leslie
    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


      #3
      I'm reposting my post that was under 5.5 store from an older post. Here is my recent post.

      OK we need help. I have attached a photo of the display and functionality that we like and feel sells our products well. We seem to have 2 choices - get rid of the error message caused by the Sebenza attribute template (just code it out as far as I'm concerned - everything seems to work when you hit OK and proceed) of someone code a different way that gives us most of the functionality.

      Here are some items to see the issue and the display: http://www.artisticartifacts.com/product/12200.html ,http://www.artisticartifacts.com/product/15408.html , copy and paste URLS in browser, hit ok when error message comes up. Comments appreciated.

      Chet Vincentz

      I'm adding Leslie's comments as she has tried to help me with this issue.

      But basically what you want is for someone to be able to stop the popup message from appearing because the Inventory Attributes are active in addition to the Sebenza Product Template Manage which is used to create the product layout. Or to find a way to convert the Sebenza Product Template Manager template that uses a touch of the EmporiumPlus Toolkit in it to help create the layout.
      Attached Files
      Thanks,
      Chet Vincentz
      [email protected]

      www.electrodyne.cc Quality Motoring Accessories
      www.racdyn-usa.com BMW, MINI & Porsche performance
      www.artisticartifacts.com Creative art materials

      Comment


        #4
        The issue here is attribute Machine is trying to find the form on the page with the add to cart button so it can attach itself to the attributes. It does this by looking for the hidden input with name of Action and value of ADPR.

        Your site has this hidden input but because of the custom logic you have you also have a second Action input with a value of OPTQTY

        Code:
        <input type="hidden" name="Action" value="OPTQTY">
        If this is not needed you can remove it and this should get rid of the error. If this is needed then your other two options are to remove Attribute Machine on these products, since it is not being used anyway or you should be able to suppress this error using this code in the head tag:

        Code:
        <script>
        var ignore_error = true;
        </script>
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          BTW: I don't know if anyone else has succeeded, but the script (ignore error) doesn't work on bootstrap. None of the other options can be used because they are using image machine to show thumbnails.
          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
          phosphormedia.com

          Comment


            #6
            Bruce, if you are referring to my post we are on Ready Theme Iron and wool - somewhat modified. Brennan's suggestion worked well for us. Got rid of the error message. I am not knowledgeable with bootstrap but I thought it was a predecessor to Ready Themes. Anyway ours works.
            Thanks,
            Chet Vincentz
            [email protected]

            www.electrodyne.cc Quality Motoring Accessories
            www.racdyn-usa.com BMW, MINI & Porsche performance
            www.artisticartifacts.com Creative art materials

            Comment


              #7
              Yea, I suspect our "mods" are different or they've changed something in the AttributeMachine.js file (which would be nice if we could access it or they provided a vehicle to change the target of features like these. We have a multi add (with inventory variants) feature on the page that is switched only for mobile users.
              Bruce Golub
              Phosphor Media - "Your Success is our Business"

              Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
              phosphormedia.com

              Comment


                #8
                Still an issue.
                Bruce Golub
                Phosphor Media - "Your Success is our Business"

                Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
                phosphormedia.com

                Comment


                  #9
                  Hi Bruce,

                  I am looking into a way to ignore the errors. If you are dealing with a form with a custom action, you could use JavaScript to change the action on click of the form submit button to the action you need and then change it back to ADPR after the submission is complete; similar to what we do with the add to wish list function.
                  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


                    #10
                    Originally posted by Matt Zimmermann View Post
                    Hi Bruce,

                    I am looking into a way to ignore the errors. If you are dealing with a form with a custom action, you could use JavaScript to change the action on click of the form submit button to the action you need and then change it back to ADPR after the submission is complete; similar to what we do with the add to wish list function.
                    Yea, that's the path I went with. Still would be better to be able to at least mod the AttributeMachine.js to accept either ADPR or ADPM...especially since the use of ADPM is becoming more prevalent. (Or I guess Miva could do that.)
                    Bruce Golub
                    Phosphor Media - "Your Success is our Business"

                    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
                    phosphormedia.com

                    Comment


                      #11
                      Jumping in on Bruce's comment. How hard would it be for Miva to roll out a quickie update that would allow AttributeMachine.js to accept ADPR and ADPM. I have two sites wanting to use ADPM and am having my share of headaches with this error.

                      Comment


                        #12
                        Even leaving the action as ADPR, if I try to code the attributes with the product id added, I get the error message, and image swapping no longer works.

                        Comment


                          #13
                          Originally posted by Leanne View Post
                          Even leaving the action as ADPR, if I try to code the attributes with the product id added, I get the error message, and image swapping no longer works.
                          The only way I've found to hack around this (and its a MAJOR hack) is to actually write out an ADPR form just before the new ADRM form (essentially doing attributes twice) and setting the form to 'display:none'. Pretty ugly but we projects have to get done.

                          Bruce Golub
                          Phosphor Media - "Your Success is our Business"

                          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
                          phosphormedia.com

                          Comment


                            #14
                            We've just started experiencing this problem on one of our sites since the upgrade to 9.13. Has something changed that would cause this issue to resurface?
                            Psydde Delicious
                            Delicious Boutique & Corseterie
                            Philadelphia, PA
                            www.DeliciousBoutique.com
                            www.DeliciousCorsets.com

                            Comment


                              #15
                              Check your form and make sure that the name attribute for the quantity field has a capital Q
                              Code:
                              ...name="Quantity"...
                              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

                              Working...
                              X