Miva Merchant 4 Module FAQs » Other Page Templates (BROK_PAGETEMPLATES)


How can I display a "checkout" link on the basket page which points to the correct screen depending on whether or not the customer is logged in?

(2003/09/23)You can conditioanlly display the "checkout" button depending on whether or not the customer is logged in. There isn't a token for it yet but this should work:

%begin_if|len(BasketList.d.cust_id)|%
Check out
%end_if%

%begin_if|NOT len(BasketList.d.cust_id|%
Check out
%end_if%

This will display one link (the first) if the customer is logged and a second link if the customer is not logged in.



Last update: 2004-12-10 09:43
Author: Support
Revision: 1.0

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

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry