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/circ.itp/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,16/6/17) replaced <i> with <span>
' (SS,6/3/24) Bootstrap 5, replaced <span class="glyphicon glyphicon-shopping-cart" style="color:black"></span> with <span class="fa-solid fa-cart-shopping" style="color:black"></span>
' <span class="d-sm-none d-md-inline">Basket</span>
' (SS,12/6/24) added text-decoration-none to not show underline on hover, it looked untidy
Sub ShowShoppingStatusSummaryVersion(ATotalQty, AItemLines, ASubtotal, AIsEmpty)
%>
        <div class="float-end">
          <a class="btn btn-outline-secondary btn-lg rounded-pill text-decoration-none" href="<%=GetBasketLink%>" rel="nofollow">
            <span class="">Basket</span>
            <%If Not AIsEmpty Then%>
              &nbsp;<span class="badge" style="color: #fff; background-color: #5cb85c; border-color: #4cae4c"><%=ATotalQty%></span>
            <%End If%>
            <span class="fa-light fa-basket-shopping" 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
%>