HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/groundscrewcentre/inc-template-shopping-status.asp
<%
' --- START OF SHOPPING STATUS TEMPLATES --- '

Sub ShowShoppingStatusHeader
%>
<!-- START OF SHOPPING STATUS -->
<%
End Sub

Sub ShowShoppingStatusItemHeader
End Sub

Sub ShowShoppingStatusEmpty
End Sub

Sub ShowShoppingStatusItem(AProductCode, AProductDashAsUnderscore, AProductCodeURLEncoded, AProductName, AQty, APrice, ADeleteHRef)
End Sub

Sub ShowShoppingStatusFooter(ASubtotal, AIsEmpty)
%>
<!-- END OF SHOPPING STATUS -->
<%
End Sub

' (SS,17/4/07)
' (SS,17/1/13) changed GetCheckoutLink to GetBasketLink
' (SS,13/8/14) bootstrap version
' (SS,4/3/16) added rel="nofollow"
' (SS,14/10/19) for Bootstrap 4 changed glyphicon to fa, replaced itp-border-box with btn-light
Sub ShowShoppingStatusSummaryVersion(ATotalQty, AItemLines, ASubtotal, AIsEmpty)
%>
        <div style="width: 170px">
          <a class="btn btn-light float-lg-right" href="<%=GetBasketLink%>" rel="nofollow" style="color:black">
            <i class="fa fa-shopping-cart" style="color:black"></i> Basket
            <%If Not AIsEmpty Then%>
              &nbsp;<span class="badge" style="color: #fff; background-color: #5cb85c; border-color: #4cae4c"><%=ATotalQty%></span>
            <%End If%>
          </a>
          <!--
          <a class="btn dropdown-toggle itp-border-box " data-toggle="dropdown">
            <span class="caret" style="color:black"></span>
          </a>
          -->          
        </div>          
<%
End Sub

' --- END OF SHOPPING STATUS TEMPLATES --- '

' (SS,17/4/07) was ShowShoppingStatus added a summary version
' (SS,20/7/11) added If Not IsAjaxRequest
If Not IsAjaxRequest And Not ForProductList Then ShowShoppingStatusSummary
%>