Miva Merchant 4 Module FAQs » Out of Stock/Coming Soon Wait List (DEN_WLST)


{docurl}

How can I integrate this module with your Category/Product Page Template modules?

First, in the template module(s), go to the 3rd party tokens tab and add a new token if one doesn't already exist. Use DEN_WLST for the module code, and lets use the same for the token name (the token name is up to you, the rest of these instructions assume you used DEN_WLST). This should give you the "full" tokens to use to insert into a template, %module|DEN_WLST|1|% and %module|DEN_WLST|2|%. %module|DEN_WLST|1|% will display the expanded display Add to Wait List button, and %module|DEN_WLST|2|% will display the line-item display Add to Wait List button.

The template modules have conditional tokens can be used to make the add to basket button only appear for items in stock.

%begin_instock%/%end_instock%, and
%begin_outstock%/%end_outstock%

Wrap the add to basket buttons in %begin_instock%/%end_instock%

Now add the %module|DEN_WLST|1|% or %module|DEN_WLST|2|% token, and wrap this in %begin_outstock%/%end_outstock%.

Your template should look something like this:

%begin_instock%

%end_instock%
%begin_outstock%

%module|DEN_WLST|2|%
%end_outstock%



Last update: 2003-07-07 23:13
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