Fluorescent
Flash Cart
Flash Cart
  • Flash Cart Help Center
    • Get Started
    • FAQ
    • Support
  • Cart components
    • Quick cart
      • Cart density
      • Cart summary area
      • Cart title
      • Empty cart promotion
      • Sidebar style
    • Added-to-cart popup
    • Floating cart icon
    • Quick purchase bar
      • Customize quick purchase bar
      • Promotion banner
  • Cart Blocks
    • Using cart blocks
    • Cart items
      • Item images
      • Item savings
      • Live traffic label
      • Low inventory warning
      • Unit prices
    • Cross-sells
      • Global cross-sells
      • Handpicked cross-sells
      • Automatic recommendations
      • Cross-sells: Tips and tactics
      • Analytics
    • Free shipping bar
    • Payment icons
    • Text bar
    • Text list with icons
    • App embeds
    • Custom Liquid
  • Style settings
    • Colors
    • Fonts
    • Custom CSS
  • For Developers
    • API custom events
    • Configuration options
Powered by GitBook
On this page
  1. Cart Blocks

Custom Liquid

Cart block

PreviousApp embedsNextColors

Last updated 1 year ago

We do not support code customizations. This guide offers a basic reference for developers or advanced users. Always test code changes on an unpublished copy of your theme. For assistance, we recommend finding a professional developer through .

With the Custom Liquid block, you can extend the functionality of Flash Cart by adding snippets of Liquid or HTML code directly in the theme editor.

Liquid is the template language used by Shopify. See their to learn more. Also check out Shopify's .

Custom Liquid provides a reliable and safer option compared to editing your theme code. It will help keep your theme copy eligible for updates and avoid conflicts with the original theme code.

Add Custom Liquid block

Follow the steps below to add Custom Liquid section and test your custom code.

STEPS

In your theme editor (Customize):

  1. Click the Header cart icon, and click the Edit your cart button.

  2. Under Flash Cart, click (+) Add block and select Custom liquid.

  3. Click the Custom Liquid block to open the settings.

  4. Enter your Liquid code into the field.

    See Shopify’s to learn more.

  5. Click Save.

Shopify Experts
Liquid reference guide
Liquid code examples
Liquid reference guide