Custom Setup
Learn how to get Profit Pages to work with custom themes.
Profit Pages attempts to automatically install itself on initial setup and when you install a new theme. You can read more about the setup process in documentation/setup. However, we realize that due to the variety of themes in the Shopify marketplace, this may not always meet your needs. So, we allow you to manually setup Profit Pages. For Shopify to work, you must include the following three snippets of code in your theme. You can move these within the default liquid files or remove them and include them elsewhere depending on your needs.
1. CSS AND JAVASCRIPT ASSETS (IN LAYOUT/THEME.LIQUID BY DEFAULT)
{% include 'page-builder-assets' %}
2. PAGE METAFIELD REFERENCE (IN TEMPLATES/PAGE.LIQUID BY DEFAULT)
{{page.metafields.pagebuilder.content}}
3. PRODUCT METAFIELD REFERENCE (IN SECTIONS/PRODUCT-TEMPLATE.LIQUID)
{{product.metafields.pagebuilder.content}}
As long as your theme has these 3 items, Profit Pages content should display properly on your site. Still not working? Contact us and we will get it up and running for you.
Get more helpful tips in our blog.