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/hyperflight/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,21/5/26) Bootstrap 5 version for HyperFlight
' (SS,15/6/26) added Account button
' (SS,17/6/26) compact Account/Basket controls and desktop subtotal
Sub ShowShoppingStatusSummaryVersion(ATotalQty, AItemLines, ASubtotal, AIsEmpty)
%>
<div class="header-basket">

  <div class="header-shopping-actions">

    <a href="<%=GetPageLink("account")%>"
       class="header-account text-decoration-none"
       rel="nofollow"
       title="Account"
       aria-label="Account">
      <i class="fa-regular fa-user" aria-hidden="true"></i>
    </a>

    <a href="<%=GetBasketLink%>"
       class="header-basket-link text-decoration-none"
       rel="nofollow"
       title="Basket"
       aria-label="Basket">

      <i class="fa-regular fa-cart-shopping" aria-hidden="true"></i>

      <span class="header-basket-subtotal"><%=ASubtotal%></span>

      <%If Not AIsEmpty Then%>
        <span class="badge text-bg-success header-basket-count"><%=ATotalQty%></span>
      <%End If%>

    </a>

  </div>

  <div class="header-vat-text">
    VAT <%=Iif(IsCountryVATable, "included", "excluded")%>
  </div>

</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
%>