Miva Merchant 4 Module FAQs » Search Manager (BROK_SEARCH)


{docurl}

How to Insert a Product Quantity Box And Corresponding Add to Basket

What is the proper way to insert a product quantity box and the corresponding add to basket? The documentation provided seems to be lacking the ?beginform? for these elements.


In order that the template can contain different "add" buttons for the same product (eg. both a "add to basket" and "buy one now" button), each button token has to be in a separate form. This is achieved by using a separate "begin_form"..."end_form" tag for each button token. The form tokens for each is:

%begin_addform%...%end_addform% : for the %prodadd% token
%begin_addoneform%...%end_addoneform%: for the %prodaddone% token
%begin_buyform%...%end_buyform%: for the %prodbuy% token
%begin_buyoneform%...%end_buyoneform%: for the %prodbuyone% token

In each case, the associated tokens must also appear between the form tokens.

For example, the %prodadd% token requires the %prodqtybox% token and that token too must be between the %begin_addform% and %end_addform% tokens.



Last update: 2003-07-31 00:48
Author: Support
Revision: 1.0

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

Average rating: 1 out of 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category