Ascent(English)
Contact usFAQsFree to install
English
English
  • Introduction
  • Support Policy
  • Refund Policy
  • Template Installation
  • FAQs
  • Global Settings
    • Layout
    • Colors
    • Typography
    • Breadcrumb
    • Animations
    • Section header
    • Product cards
    • Badges
    • Social media
    • Search behavior
    • Currency format
    • Cart settings
    • Favicon
    • Custom CSS
  • Header
    • Custom Mega Menu
    • Mobile Menu Obstruction by Third-Party Plugins
  • Side Drawer
    • Search Drawer
    • Shopping Cart Drawer
  • Sections
    • Seamless scroll
    • Announcement bar
    • Countdown
    • Collection thumbnails
    • Narrow banner image
    • Image banner
    • Video banner
    • Slideshow
    • Image with text
    • Image-text list
    • Rich text
    • Newsletter
    • Text with icons
    • Logo list
    • Contact form
    • FAQs
    • Multicolumn
    • Image comparison banner
    • Image hotspots banner
    • Map
    • Featured collection
    • Featured product
    • Collection list
    • Custom liquid
    • Composite display
    • Confetti trigger
    • Custom section header
    • Quote
    • Testimonials
    • Shop the feed
    • Image gallery
    • Product compare table
    • Text lens zoom
    • Scroll image expand
    • Milestones
    • Team
    • Highlight features
    • Steps
    • Media wall
  • Popups
    • Event popup
    • Age verification popup
  • Footer
    • Custom Payment Icons
  • Tool bar
  • Pages
    • Product Collection Page
      • Create Subcategory
    • Main product
      • Gifts (Freebies)
      • Product Pre-order
      • Size Chart
      • Variant Images Group
      • Variant Samples
      • Complementary Products
      • Related Products
      • Sibling Products
      • In Box Products
      • Product A+ Page
      • Performance Indicator Bar
      • Delivery ETA
  • Others
    • Version Upgrade Notes
      • v2.2.1 (Current version)
      • v2.1.8
      • v2.1.7
Powered by GitBook
On this page
  • Configuration Guide
  • Usage Recommendations

Was this helpful?

  1. Sections

Custom liquid

The Custom Liquid Module allows merchants to add Liquid code snippets to achieve more customized functionality. This module is highly flexible, enabling the insertion of custom logic, dynamic content, or advanced features that can't be accomplished through standard configurations.

Configuration Guide

1. Liquid Code Input

  • Liquid Code: Enter your custom Liquid code in the text box provided. Using Liquid, you can dynamically render content, interact with backend data, or implement specific business logic.

    • For example, Liquid can be used to display specific products, generate dynamic content, or pull Shopify data.

    • It is recommended to have a basic understanding of Liquid to ensure code accuracy.

2. Color Scheme

  • Color Scheme: Choose a color scheme for this custom module. This option is designed to align with the overall page design for visual consistency.

    • Click "Edit" to customize the color scheme.

    • The color settings will affect the module's text, background, and other styles, so it's recommended to match them with the rest of the page.

Usage Recommendations

  1. Ensure Code Accuracy:

    • When writing custom Liquid code, make sure it follows Shopify's Liquid syntax standards to avoid display errors.

    • Test your code in a development environment or code editor to ensure it works correctly before applying it to your live page.

  2. Leverage Custom Page Features:

    • With Liquid, you can create dynamic displays like product showcases, promotional events, or personalized content for users.

    • Make use of Liquid’s data interaction capabilities to deeply integrate with your Shopify store's database.

  3. Appropriate Use of Color Schemes:

    • Choose the right color scheme to ensure that the custom Liquid content blends well with the overall page design, improving user experience and visual appeal.

  4. Combine with Other Modules:

    • The Custom Liquid Module can complement other page modules to enhance interactivity and flexibility.

    • Use it to provide personalized services, such as dynamic product recommendations or customized user information displays.

  5. Optimize Code Performance:

    • Avoid using complex loops or nested operations in Liquid code, especially when working with large data sets.

    • Ensure the page load speed is not negatively impacted by the code, keeping the user experience smooth.

PreviousCollection listNextComposite display

Last updated 2 months ago

Was this helpful?