All Collections
eCommerce
eCommerce Features and Customization
eCommerce Features and Customization
Jordan Gilman avatar
Written by Jordan Gilman
Updated over a week ago

Here are some tricks on how to create a more engaging eCommerce web site:

You can add the Total Items in Your Cart and the Sub Total by leveraging this javascript:

<script type="text/javascript">
 $(document).ready(function () {
 returnCartTotalItems();
 returnCartSubTotal();
 });
 </script>

Simply assign the returnCartTotalItems() or returnCartSubTotal() to any element on your page.

If you want to remove the "Narrow Results" on the shop page, do the following:

Add this script to the bottom of your page:

<script type="text/javascript">

$("#productGrid").removeClass("col-md-9");
$("#productGrid").removeClass("col-lg-10");

</script>

and then add this line to your css:

#resultFilter { display: none !important; }

Did this answer your question?