Hi,
I am trying to assign a product quantity to a new variable so I can carry it to another product screen.
Here is what I was trying to do:
Customer adds product CAM1001 to the cart.
Next screen is an option to add another product that compliments this one - they click on the option in this form:
<form method="POST" action="&mvt:global:sessionurl;">
<input type="hidden" name="Store_code" value="&mvt:store:code;">
<input type="hidden" name="Screen" value="PROD">
<input type="hidden" name="Product_Code" value="ENV_9_CAM">
<input type="hidden" name="Action" value="post">
<input type="hidden" name="quantity" value="&mvt:product:quantity;">
<input type="image" src="../images/but_option1.gif">
</form>
On the next product screen I need to fill the quantity field for the new product for the customer so they don't have to fill it in. I am ok with them being able to change it, I just wanted to populate it for them.
Qty: <INPUT TYPE="text" NAME="quantity" VALUE="&mvt:product:quantity;">
When I use &mvt:product:quantity; it is a 0 so I think I need to assign &mvt:product:quantity; to a variable in the above form?
Thanks,
Mike
I am trying to assign a product quantity to a new variable so I can carry it to another product screen.
Here is what I was trying to do:
Customer adds product CAM1001 to the cart.
Next screen is an option to add another product that compliments this one - they click on the option in this form:
<form method="POST" action="&mvt:global:sessionurl;">
<input type="hidden" name="Store_code" value="&mvt:store:code;">
<input type="hidden" name="Screen" value="PROD">
<input type="hidden" name="Product_Code" value="ENV_9_CAM">
<input type="hidden" name="Action" value="post">
<input type="hidden" name="quantity" value="&mvt:product:quantity;">
<input type="image" src="../images/but_option1.gif">
</form>
On the next product screen I need to fill the quantity field for the new product for the customer so they don't have to fill it in. I am ok with them being able to change it, I just wanted to populate it for them.
Qty: <INPUT TYPE="text" NAME="quantity" VALUE="&mvt:product:quantity;">
When I use &mvt:product:quantity; it is a 0 so I think I need to assign &mvt:product:quantity; to a variable in the above form?
Thanks,
Mike
Comment