Fenix Shopping CART or Bag code snippet Features.

Fenix Estimated Delivery Integration in CART or Shopping Bag

 <!-- START FENIX CONFIGURATION CODE-->
 <style>
.fenix-fixd-delivery-cart {
    text-align: right;
    margin-bottom: 10px;
    margin-left:-5% !important;
}
   
  @media screen and (min-width: 1200px) {
  .fenix-fixd-delivery-cart {
    font-size: 14px;
  }
}
  
   @media screen and (max-width: 480px) {
  .fenix-fixd-delivery-cart {
    font-size: 13px;
  }
}
     @media screen and (max-width: 360px) {
  .fenix-fixd-delivery-cart {
    font-size: 10px;
  }
}
   .fenix-resp-span-date,.fenix-resp-span-shippingname,.fenix-resp-span-time{
      color:#000 !important;

}
.fenix-fixd-delivery-cart strong{
    font-weight:bold;
     color:#000;
}
</style>

<script>
if (window.location.pathname == "/cart" || window.location.pathname == "/cart/") {
	FenixDeliveryEstimates({
		page: 'cart',
		cartItems: {{ cart.items | json }},
		shop: "{{shop.permanent_domain}}",
		template: "{{template}}",
		fenixMessageStyles: {
			fontSize: '14px',
			messageHighlightColor: '#333',
			changeZipTextColor: '#333'
		}
	});
}
  
$( document ).ajaxComplete(function( event, xhr, settings ) {
  if ( settings.url === JSON.parse(window.sessionStorage._fenixStoreInfo).delEstUrl ) {
    if( $(".fenix-fixd-delivery-cart").text() == "" ||  $("#fenix-message-left").text().length == 0 ){
      	$(".fenix-fixd-delivery-cart").hide();
    }else{
   	$(".fenix-fixd-delivery-cart").show();
    }
  }  
});

</script>
<!--END FENIX CONFIGURATION CODE-->

Please contact Fenix Customer Support Team fixdsupport@fenixcommerce.ai in case of any issue in the code snippets and for all queries.

Insert Fenix snippets in CART Template

Code Snippet 

<!-- START FENIX CONFIGURATION CODE --> 
{%include 'fenix-cart-template' %} 
<!-- END FENIX CONFIGURATION CODE --> 

Code Snippet

<!-- START FENIX ORDER LEVEL CODE --> 
<div id="fenix-message-left" class="fenix-fixd-delivery-cart"></div> 
<!-- END FENIX ORDER LEVEL CODE--> 

Estimated Delivery Date on Shopping Cart Page

Last step to delete Session trackers:

  1. Login to store

  2. Visit  Admin->settings  -> checkout 

  3. In order status page add below code

store-url-dot-com/admin/settings/checkout

<script>
document.cookie = "fenixSSID=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
</script>