OxifyOxify
Customization

Custom templates

Replace a built-in section of the cart drawer, a product page offer or a product list with your own JSX code.

A custom template is a piece of JSX (React markup) that replaces the built-in layout of one section. Oxify gives your code the section's data as props, and your code decides how it looks.

For developers

Oxify labels every editor Technical skills required. The app states: "our support team cannot assist with custom template development or debugging." A template is JavaScript that runs in your shoppers' browsers, so only use code you wrote or trust.

Where templates are available

Each editor is a card named Custom template, at the bottom of its screen.

WhereEditor tabs
Cart Editor, DesignHeader, Footer
Cart Editor, Cart ItemsSkeleton, Product tile, Variant, Properties, Price, Volume tiers
Cart Editor, AnnouncementsMain, Skeleton
Cart Editor, RewardsFull, Skeleton, Rewards to be achieved, Pick Free Gift, and Added Free Gifts (only when Position of Free Gift Items is Top of Cart or Bottom of Cart)
Cart Editor, Upsells (and each extra upsell widget)Custom template, Bottom sheet
Cart Editor, Upsells with DiscountCustom template, Bottom sheet
Cart Editor, Add OnsAdd-ons, Loading skeleton
Cart Editor, Additional NotesNotes
Cart Editor, Split PaymentsSplit payments
Cart Editor, Discount CodesBasic input, Advanced banner, Advanced sheet
Cart Editor, Trust BadgesTrust badges
Cart Editor, Empty CartEmpty state, Recommendations
Product Page Upsell offer, Design tabOne template for the offer's type and layout
Product List Widget, Design tabCustom template

The Volume Discount, Subscription Upgrades, Custom HTML & CSS, Express Checkout, Integrations and Settings sections of the Cart Editor have no template editor.

Turn the editors on

In the Oxify app, open Settings and find the Custom templates section (badge: Technical knowledge required).

Tick Enable custom template editors and click Save.

Open the Cart Editor. The Custom template card now shows in the sections above.

This setting only controls whether the Cart Editor shows the cart drawer editors. The Product Page Upsell and Product List Widget editors are always shown. The setting's help text says: "Already-active templates on your storefront keep running even if you turn this off."

For plain styling changes, use custom CSS or custom HTML and CSS injection instead.

On this page