Add My Projects Page
This works with both Classic and New Customer Accounts.
This guide sets up a standalone "My Projects" page that displays a customer's saved Pixfizz projects as a visual card grid with thumbnail previews. Customers can click any card to re-open their project in the Pixfizz editor.
Note: There is also an older version that adds saved projects as a table within the Shopify account page. This card grid version is a standalone page with a more modern layout. You can use either approach, or both.
Prerequisites
Before starting, make sure you have:
The Pixfizz Shopify integration installed and working on your store
The
pixfizz-setup.liquidsnippet rendering on all pages (this is part of the standard Pixfizz integration)
Step 1: Create the Pixfizz Products API page
The My Projects page looks up each project's Shopify product through a small data page at /pages/pixfizz-product-api. Without it, projects still appear in the grid, but clicking a card does nothing and the product title is missing. If your store already has this page (for example from the older saved projects setup), skip to Step 2.
1a. Create the template. In your Shopify admin, go to Online Store → Themes, click the three-dot menu on your active theme, and select Edit code. In the Templates folder, click Add a new template, choose page as the type, select Liquid (not JSON), and name it pixfizz-product-api. This creates page.pixfizz-product-api.liquid.
Replace any default content with the following and save:
{% layout none %}
{
{%- comment %}
On sites with many non-pixfizz products, it makes sense from a performance perspective
to use a dedicated collections for pixfizz products, to be able to iterate only through them
instead of through all live products with `collections.all`.
{%- endcomment %}
{% paginate collections.all.products by 250 %}
{% for product in collections.all.products %}
"{{ product.id }}": {
"handle": {{ product.handle | json }},
"title": {{ product.title | json }},
"integration_type": {{ product.metafields.pixfizz.integration_type | json }},
"pixfizz_sku_map": {
{%- for variant in product.variants -%}
"{{ variant.id }}": {{ variant.metafields.pixfizz.product_sku | default: product.metafields.pixfizz.product_sku | json }}
{% unless forloop.last %},{% endunless %}{%- endfor -%}
},
"pixfizz_addons_map": {
{%- for variant in product.variants -%}
"{{ variant.id }}": {
"page_addon": {{ variant.metafields.pixfizz.page_addon_product.value.id | default: product.metafields.pixfizz.page_addon_product.value.id | json }},
"option_addons": {
{%- for addon in product.metafields.pixfizz.option_addon_products.value -%}
{{ addon.metafields.pixfizz.option_type_code | json }}: {
{%- for addon_variant in addon.variants -%}
{{ addon_variant.metafields.pixfizz.option_value_code | json }}: {{ addon_variant.id | json }}
{% capture variant_addons %}
{%- for addon in variant.metafields.pixfizz.option_addon_products.value -%}
{%- for addon_variant in addon.variants -%}
{{ addon_variant.metafields.pixfizz.option_value_code | json }}: {{ addon_variant.id | json }}
{% unless forloop.last %},{% endunless %}{%- endfor -%}
{%- endfor -%}
{% endcapture %}
{% assign variant_addons_stripped = variant_addons | strip %}
{% unless forloop.last and variant_addons_stripped == blank %},{% endunless %}{%- endfor -%}
{{ variant_addons }}
}{% unless forloop.last %},{% endunless %}
{%- endfor -%}
}
}{% unless forloop.last %},{% endunless %}
{%- endfor -%}
}
}{% unless forloop.last %},{% endunless %}
{% endfor %}
{% endpaginate %}
}1b. Create the Shopify page. Go to Online Store → Pages and click Add page. Set the title to pixfizz-product-api, leave the content blank, set Visibility to Visible and Template to pixfizz-product-api, and click Save.
The page handle must be exactly pixfizz-product-api. To check it, open https://yourstore.com/pages/pixfizz-product-api in a browser. You should see plain text starting with { " followed by product data, not your store's page layout or a "Page not found" message.
Step 2: Create the snippet
In the theme code editor, open the Snippets folder and click Add a new snippet. Name it pixfizz-projects.liquid.
Paste the following code into the file:
Save the file.
Step 3: Create the page template
In the Templates folder, click Add a new template. Choose page as the type, select Liquid (not JSON), and name it pixfizz-projects. This creates a file called page.pixfizz-projects.liquid.
Replace any default content with the following:
Save the file.
Tip: If you are also setting up the Account Navigation feature, add the nav snippet above the projects snippet:
Step 4: Create the My Projects page
Go to Online Store → Pages and click Add page.
Give the page a title, for example My Projects. Leave the content area blank.
In the Template dropdown on the right, select pixfizz-projects.
Click Save.
The page will be available at /pages/my-projects (or whatever handle Shopify generates from your page title).
Step 5: Enable the save button in the editor
Go to your Pixfizz account and select Settings → Design Tool.
Go to editor configuration and set the Account Page Name setting to ../pages/my-projects. This makes the save button in the Pixfizz editor direct the customer to the My Projects page.
Alternatively, if you are using the older table-based saved projects embedded in the Shopify account page, you may prefer to keep the setting as ../account.
What the page does
Once installed, the page provides the following functionality for logged-in customers:
Project grid: displays all saved projects as a responsive card grid (2 columns on mobile, 3 on tablet, 4 on desktop). Each card shows a thumbnail preview, the project name, the product title, and the date it was last updated.
Click to edit: clicking any card re-opens the project in the Pixfizz editor, where the customer can continue editing or add it to their cart.
Load more: projects load 20 at a time. If there are more, a "Load more" link appears at the bottom.
Troubleshooting
Clicking a project card does nothing, and cards show only a date with no product name. The Products API page from Step 1 is missing or not set up correctly. Open
/pages/pixfizz-product-apion your store. If you get "Page not found", create the Shopify page in Step 1b. If you see your normal store layout, the page is not using thepixfizz-product-apitemplate, or the template is missing{% layout none %}."No saved projects yet" while logged in. Check that the customer has actually saved a project. Products that go straight to the cart (integration type
options-to-cart, for example wall art where the customer uploads a photo and picks options) do not create saved projects. Only products that open the Pixfizz editor have a Save button.Guests always see the empty state. Projects are tied to the customer's account.
Notes
The template is styled to work with the Dawn theme out of the box. On other themes, you may need to adjust the CSS.
Projects are stored in Pixfizz, not Shopify. The page communicates with the Pixfizz API using the customer's existing Pixfizz session.
The page requires the customer to be logged in to their Shopify account. Guests will see an empty state.
All CSS selectors use the
#pxp-wrapID prefix for specificity, which prevents Dawn's section styles from overriding the grid layout.This page pairs well with the My Galleries page and the Account Navigation feature.
Last updated