LogoLogo
  • Help Center
  • Welcome To Inveterate
  • Guides
    • Getting Started
      • Install The Inveterate App
        • App Installation
        • Creating Your Inveterate Account
      • Set Up Company Profile
      • Enable Inveterate On Your Store
      • Adjust Customer Account Settings In Shopify
      • Add Membership Link Snippet to Customer Account Template
    • Program Setup
      • Tier Setup
        • Editing Tiers
        • Deleting Tiers
        • Free Trials For Paid Tiers
        • Universal Rebill Date
      • Benefits
        • Credit Based Benefits
          • Credit Expiration
          • Enabling Credit Based Benefits
          • Recurring Store Credits
          • Credits For Orders
          • Anniversary Credits
          • Store Credits For Purchase Referral
          • Sign Up Store Credits
        • Savings Based Benefits
          • Free Shipping
          • Member Only Discounts
          • Sign Up Discounts
          • Member Only Pricing
        • Access Based Benefits
          • Early Access
          • Exclusive Access
        • Gift Based Benefits
          • Free Gift At Signup
      • Landing Page
        • About The Landing Page
        • Configuring the Landing Page
          • Hero
          • Testimonial
          • Benefits
          • CTA
          • FAQ
        • Adding the Landing Page to Your Store
        • Landing Page Versioning
        • Adding Custom CSS Styling
      • Messaging
        • Content
        • Messaging Settings
    • Members
      • Member Portal
      • Manage Members
        • Canceling Members
        • Tier Upgrades and Downgrades
        • Members Page
        • Creating Segments
        • Exporting Member List
      • Member Profile
        • Fundamentals
        • Adjusting Credits
        • Anonymize Members
      • Shopify Account Pages
    • Settings
      • Users & Access
      • Profile Settings
      • Password Reset
      • Account Settings
    • Integrations
      • Shopify POS
      • Tapcart
      • Aftersell
      • Gorgias
      • Postscript
      • Klaviyo
      • Rebuy
      • Attentive
        • How to Enable Integration
        • Segmenting Customers by Inveterate's Membership Custom Attributes in Attentive
        • How to Create Journeys in Attentive with Inveterate's Custom Events
        • Attentive Custom Events List
  • Strategy & Best Practices
    • Memberships 101
  • Discount Information
    • Apply Discounts To Subscription Products
    • Editing Discount Codes
    • Codes For Free Memberships
    • Combining Discounts
  • Tag Information
    • Customer Tags
    • Order Tags
  • Advanced Guides
    • Editing Free Tier Signup Modals
    • Membership Currency Localization
    • Migrating From Scripts To Functions
    • Migrating To Tiers
    • Spend Based Tiers
      • About Spend Based Tiers
      • Spend Based Tiers Setup
      • About The Landing Page
    • Search Engine Crawling
    • Advanced Settings
      • App Embeds Settings
      • Early Access Settings
      • Exclusive Access Settings
    • Shopify Scripts
      • Free Shipping Script
      • Member Only Pricing
      • Free Gift At Sign Up
    • Theme Editor Sections
      • PDP Upsell Widget
    • Replace Inveterate Emails In Klaviyo
      • How to Send Member Notification Emails with Klaviyo
      • Klaviyo Member Notification Metrics and Their Template Variables
    • Sunsetting Your Membership Program
    • Shopify Flow
      • Flow Library
Powered by GitBook
On this page
  • Script Types
  • Creating a Script
  • Shipping Scripts
  • Line Item Scripts

Was this helpful?

  1. Advanced Guides

Shopify Scripts

PreviousExclusive Access SettingsNextFree Shipping Script

Last updated 7 months ago

Was this helpful?

Shopify Plus Only

This is an advanced guide.

This guide requires the app.

By default we utilize discount codes to provide free shipping to

Shopify Plus merchants have access to a Shopify built app called Script Editor. This app allows merchants to build custom discounting functionality that will apply to products in checkout. These scripts are written in Ruby and run on the backend before a customer's cart is displayed to them in checkout. This allows for a lot of extra discounting functionality that would normally not be possible by simply editing the front end code.

Script Types

Creating a Script

In your Shopify Script Editor app click the "Create script" button to open the script modal. Once opened, select the "Line Items", "Shipping rates" or "Payment gateways" tab, select "Blank template" and hit the "Create script" button.

In the "Code" section replace the default code with one of the following scripts.

Shipping Scripts

Line Item Scripts

Free Shipping Script
Member Only Pricing
Shopify Script Editor