- Home
- Case studies
- Custom photobooks
A paid membership that works in the cart
A Mexican photobook brand sells a yearly membership that takes 40% off the whole store. The cart now shows what joining would save on the current order, keeps every price right as items change, and tracks how much each member has saved since joining.
- Client
- Photobook brand with a paid membership
- Market
- Mexico, Spanish store in pesos
- Platform
- Shopify, Impact theme, Shopify Flow
- Role
- Hafiz Fahad Munir, sole developer
- When
- August 2026, three rounds
- Status
- Live on the cart page, the cart drawer and product pages.
Before joining

After joining

Background
The brand sells custom photobooks. Customers design each book in a separate editor, then it arrives in the Shopify cart. The membership is a one-off yearly fee that gives 40% off everything for 12 months and does not renew by itself.
The owner came through Fiverr with a written spec and a mockup for each state of the cart. The work ran in three rounds in August 2026.
The challenge
Membership pricing is simple on a product page and hard in a cart. Every add, remove and join has to update the prices, the savings and the free shipping bar without reloading the page, and the offer to join has to show what it would really save on this order.
Each photobook in the cart carries 14 properties from the editor that the order needs later. The new cart code had to leave every one of them exactly as it was.
What was built
- A membership block in the cart page and the cart drawer with four states: not worth joining yet, worth joining (with the saving on this order), joined (with the live saving), and existing member (with lifetime savings).
- A lifetime savings counter. Two Shopify Flow workflows add to a customer metafield when an order is paid and take it away again on a refund.
- A confirmation that appears when someone tries to remove the membership from the cart.
- A free shipping bar that rounds to whole pesos, and a guard that stops the membership being bought twice.
Second round
- Price and join blocks on product pages, switched on for each product with one tag.

Testing
17 tests were run on the live cart page and drawer, and all 17 passed. The lifetime counter was proved on a real order and a real refund.
While building the Flow workflows, Hafiz caught a bug that the Flow editor did not show. Before any code was written, he also flagged a pricing conflict in the spec, and the owner settled it first.
| What was measured | Result |
|---|---|
| Live tests on the cart page and drawer | 17 of 17 passed |
| Photobook editor properties left untouched | 14 of 14 |
| Real order and refund used to prove the counter | 1 of each |
Result
Live in the cart page and drawer, then extended to product pages in the second round. A gap left from the first round was fixed at no charge.
What the client said
“Hafiz built out a set of custom cart drawer blocks for our membership program ... Everything works the way we spec’d it. He also set us up properly with GitHub instead of editing theme files directly, which I appreciated.”
Built with
Liquid, JavaScript, Section Rendering API, Shopify Flow, Customer metafields.