Knowledgebase:
"Unable to locate form for inventory attributes" Error
Posted by , Last modified by on 28 July 2016 07:25 AM

Disclaimer: This will work for stores on Miva Version 9.0 or newer. Note that this will require making template changes. Make sure you make sure you are aware of what version was active before any changes are made. These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer.

 

Objective: These are instructions will aid in fixing the "Unable to locate form for inventory attributes" error on the product display layout page

 

Issue(s): This happens because there is no "Add to Cart" button on the product display layout page.

 

Instructions: Add the following if statements around  

 

<mvt:item name="attributemachine" param="head" />

<mvt:item name="attributemachine" param="body" />

 

 <mvt:if expr="l.settings:product:inv_level NE 'out'">

<mvt:item name="attributemachine" param="head" />

</mvt:if>

 

<mvt:if expr="l.settings:product:inv_level NE 'out'">

<mvt:item name="attributemachine" param="body" />

</mvt:if>

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?