E-Commerce User Guide : Memberships and Passes : Allow guests to view information about their current passes/memberships
 
Allow guests to view information about their current passes/memberships
 
You can provide visitors/guests with the ability to log-into their guest records to view information about their current (non-expired) passes/memberships in the E-Commerce pages. This is done by adding “misc1” (or whichever table row you use in the Guestselected.aspx page) to the GuestDispRows key in the site config file. The table row that you use looks basically like the following:
 
<tr id=“misc1”>
<td class=“guestselectleft”>Passes</td>
<td class=“guestselectright”><uc1:Passinfo id=“PassInfo1”runat=“server”>
</uc1:PassInfo></td>
</tr>
 
Upon a verified guest lookup, the table row is displayed on GuestSelected.aspx as a link indicating the number of current passes/memberships in the guest record. Clicking that link displays the list of current passes/memberships in the guest record. The following default information is displayed for each pass/membership in the list: pass/membership number (pass_no from the gst_pass table), pass/membership description from the items table and pass/membership expiration date from the gst_pass table. Voided passes also get displayed in the list with a red background, but the color is configurable in the Siriusware.css file using the VoidedRow class.
 
Note: Most fields from the gst_pass table can be displayed using this functionality. Please contact Siriusware Technical Support for assistance in configuring this.