Skip to content

Theme integration

Manual integration for custom themes

Use with AI

Use with AI

Ready-made prompts Connect your AI to Pasilobus Install the CLI

This page

View as MarkdownPlain text of this page Open in ClaudeAsk about this page Open in ChatGPTAsk about this page

Ready-made prompts

Fill in the parts in angle brackets, then paste into any assistant.

Step by step on your store

Read https://help.pasilobus.com/product-options/theme-integration.md. Walk me through theme integration in Product Options for my store, step by step. My theme is <theme name> and I want <what you want to happen>.

Ask your own question

Read https://help.pasilobus.com/product-options/theme-integration.md. Answer this about Product Options on my store: <your question>.

Ask Shopify Sidekick

In your Shopify admin, ask Sidekick about Product Options. It searches these guides.

Connect your AI to Pasilobus Beta

Our MCP server lets Claude, ChatGPT, OpenClaw and other MCP clients use your Pasilobus apps. It is in beta and open to every Pasilobus account: you sign in with it when your assistant asks. Tools that change your store are marked as changes, so your assistant asks you first.

https://cloud.pasilobus.com/mcp

In Claude Code, add it, then run /mcp to sign in:

claude mcp add --transport http pasilobus https://cloud.pasilobus.com/mcp

In Claude on the web or desktop, go to Customize › Connectors › Add custom connector and paste the address. In ChatGPT, OpenClaw or another client, add it as a custom connector (MCP) with the same address.

Install the CLI

npm install -g pasilobus

Run your apps from the terminal or a coding agent. These only read, so they are safe to try:

pasilobus product-options groups

List product-option groups, their options and products

pasilobus product-options orders

Recent orders that contain product-option customizations

pasilobus apps lists your apps on the store; pasilobus <app> help lists what each app can do. How it works

On this page
  1. App Embed vs App Block
  2. Manual Block Placement
  3. Block Settings
  4. Form Integration
  5. Customizing Option Display
  6. Cart and Checkout

For most stores, the theme setup wizard handles everything. This guide is for developers building custom themes or needing manual control over option placement and behavior.

App Embed vs App Block

Product Options uses two integration methods:

  • App Embed - A global script that loads on every page. Handles form submission, validation, and cart integration. Enable in: Theme Editor > App embeds > Product Options

  • App Block - Placed on product pages to render the options form. Add in: Theme Editor > Add block > Apps > Product Options

Both must be enabled for full functionality.

Manual Block Placement

For custom product templates:

  1. Open your theme code
  2. Navigate to the product template (e.g., sections/main-product.liquid)
  3. Ensure the template supports app blocks in the product form area
  4. The block will be available for placement via the theme editor

For vintage themes without app block support, contact support for manual integration code.

Block Settings

Click the placed block in the theme editor to configure it.

Layout

  • Form Elements - every option rendered one after another, the way a normal form reads
  • Accordion Collapsible - each option is a collapsible row showing the chosen value in its header, with Add to Product and Skip buttons in the panel. Skipping clears whatever was entered in that option, so a skipped option carries no value and no charge.

Value image size - how big value images are, from 40 to 240 pixels. Everything else positions itself from this, so images stay aligned whatever you choose.

Title and Description - optional text above the options.

Colours - accent (used for the selected state), border, card background, and the completed and skipped colours for accordion rows.

Form Fields - background, hover background, max width, border width, border colour, corner radius and dropdown chevron size. These apply to every field type at once: native dropdowns, text inputs, the colour and image dropdowns, the quantity picker, and the file-upload buttons.

Button Text - the wording of the accordion's Add and Skip buttons, and the title of the additional-options group.

Layout & Spacing - block border width, the gap below each option, and padding around the block.

After Adding to Cart - stay on the page, go to the cart, or go straight to checkout.

Form Integration

Product Options integrates with the product form automatically. When customers submit the form:

  1. Options are validated (required fields checked)
  2. Selections are added to cart as line item properties
  3. Priced options add additional line items or modify the product price

The app handles this integration through the app embed script.

Customizing Option Display

For advanced styling beyond Custom CSS:

  1. Identify the option's HTML structure using browser dev tools
  2. Target elements with your theme's CSS
  3. Use the CSS class reference from the Custom CSS article

Remember that the app generates HTML dynamically—avoid overly specific selectors that might break with updates.

Cart and Checkout

Selected options appear in cart and checkout as line item properties. The property format is:

property_name: selected_value

Your theme's cart template should display line item properties. Most modern themes do this automatically. If not, add to your cart template:

{% for property in item.properties %}
  {% unless property.last == blank %}
    <p>{{ property.first }}: {{ property.last }}</p>
  {% endunless %}
{% endfor %}

Talk to a person.

The people who build our apps answer support themselves. Send us a message or email us, and a person replies, usually within one business day. There's no chat.