Miva Merchant 4 Module FAQs » Wishlist (BROK_WISHLIST)


I would like to have a box, when, if checked and the update button is clicked, 1 of the item would be added to the cart. I don't want the quantity box showing, but I can't seem to figure out how to make it work.

(2004/09/29)The quantity field is displayed, as you know, with the token %prodqtybox%. To NOT display that field and instead have it automatically add a quantity of one, remove the %prodqtybox% token and in it's place put:

<input type="hidden" name="Quantity[%var|g.CountItems|%]" value="1" />

That will add a hidden field to the form to force the quantity to 1.

Last update: 2005-01-12 09:14
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category