Insert shortcode for customer spent points

    – Steps to set up:

    Follow the below steps for setting up the widget:
    1. Copy entailing shortcode → <span class=”aaa-ly-cus-spent-p”> </span>
    2. Go to Online-store → Themes → Actions(Published theme) → Edit code → Open any file(Files can be chosen from suggestions).
    3. Paste the copied shortcode where you require and save.
    4. If you have a non-sectioned theme (no files available under sections) then choose and paste the copied shortcode in the files suggested for non-sectioned themes.

    – Suggestions where you can paste shortcode in sectioned themes:

    You can choose from below suggested “.liquid” files accordingly for pasting shortcodes and displaying customer points on specific pages:

    1. Product Page → Paste copied shortcode in “product-template.liquid” file under “Sections” for showing points.
    ⇒ How to set up?

     

    2. Account Page → Paste copied shortcode in “customer/accounts.liquid” file under “Templates” for showing points.
    ⇒ How to set up?

     

    3. Home Page → Paste copied shortcode in any “.liquid” file under “Sections”(appearing in home page) for showing points.
    ⇒ How to set up?

     

    4. Collection Page → Paste copied shortcode in“product-grid-item.liquid” file under “Snippets” for showing points.
    ⇒ How to set up?

     

    5. Cart Page → Paste copied shortcode in “cart.liquid” file under “Sections” for showing points.
    ⇒ How to set up?

     

    – Suggestions where you can paste shortcode in non-sectioned themes:

    You can choose from below suggested “.liquid” files accordingly for pasting shortcodes and displaying customer points on specific pages:
    1. Product Page → Paste copied shortcode in “product.liquid” file under “Templates” for showing points.
    2. Account Page → Paste copied shortcode in “customer/accounts.liquid” file under “Templates” for showing points.
    3. Home Page → Paste copied shortcode in “index.liquid” file under “Templates” for showing points to any home page section. Find keyword “include” if any snippet has been included and open that file under “Snippets” and paste the shortcode there.
    4. Collection Page → Paste copied shortcode in”collection.liquid” file under “Templates” for showing points. Find keyword “include” if any snippet has been included and open that file under “Snippets” and paste the shortcode there.
    5. Cart Page → Paste copied shortcode in “cart.liquid” file under “Templates” for showing points.

    Share
    Did this article answer your question?
    Share