less than a minute read • Updated a month ago

Add a mini-cart to your Webflow website


Install Foxy Include

  1. 1

    In Foxy, go to your Sample Code page here.

  2. 2

    Copy the snippet from Step 1.

  3. 3

    In Webflow, go to your Project Settings > Custom Code.

  4. 4

    Paste the snippet into the Footer section.


Display Cart Quantity

  1. 1

    Inside of your view cart element, add an element to display the number of items in the cart.

  2. 2

    Set the displayed text as 0.

  3. 3

    Give this element a custom data attribute with the Name "data-fc-id" and Value "minicart-quantity".


Display Order Total

  1. 1

    Inside of your view cart element, add an element for the currency symbol and order total

  2. 2

    Set the displayed text for the currency symbol to your preferred currency symbol.

  3. 3

    Set the displayed text for the order total as 0.00 (in the format you prefer)

  4. 4

    Give the order total element a custom data attribute with the Name "data-fc-id" and Value "minicart-order-total".


Need Help?

Did this article answer your questions? Need help with anything? Please click below to contact us.