Skip to content

Portion calculator and subscriptions ​

Portion calculator ​

Add the Portion block to the product template. On food products it shows:

  • grams per day
  • how many days a pack lasts
  • price per day

It follows the selected variant and subscription plan. When the shopper has a pet profile, the block fills in weight, age and activity. Otherwise the shopper types them in.

OwnerKey (namespace lilya)Type
Productkcal_per_100gDecimal
Variantpack_gramsInteger: grams in one pack
Variantpack_countInteger: packs in the variant

Products without kcal_per_100g don't show the block, so treats and accessories stay clean.

The portion is a guide. It's based on resting energy needs (70 × kg^0.75) and common factors for age and activity, and you can use toppers at a quarter portion. Add your own feeding advice in Theme settings → Portion calculator → Feeding disclaimer.

The Portion table section shows the full table by weight and activity level on a product or page template. It highlights the row closest to the shopper's pet.

Subscriptions ​

Patik supports Shopify selling plans:

  1. Install a subscription app, for example Shopify Subscriptions, and create a plan.
  2. Add the Purchase options block to the product template.

Shoppers choose one-time purchase or a plan. The product price, the sticky add-to-cart bar, quick view and the portion's price per day follow their choice, and the link keeps the chosen plan.

Thoughtful tools for better commerce.