@extends('layouts.app') @section('title', 'Pay What You Want') @section('content')
Let customers choose their price within a minimum and maximum. Select a product, set limits, and we create variants on demand and add them to cart—then clean up variants so your catalog stays tidy.
Existing variants is the current total of PWYW variants in Shopify (all products with a rule). Created today counts only variants this app created today. Variants are deleted per your settings (e.g. 3:00 AM Miami); the default (min-price) variant is always kept. Refresh the page to see the latest numbers.
Cart adds today and Checkout adds today = different people (unique sessions) who added a PWYW product to cart or checkout today; both reset to 0 at midnight. Views today are distinct sessions that opened a PWYW product page on your store today (not this admin); the count resets to 0 at midnight. Refresh stats now to see the latest numbers immediately.
No rules yet. Add one above.
@elseEach product uses one variant in Shopify. When a customer adds to cart, that variant's price is set to their chosen amount, then reset to your minimum so the next visitor sees the default. If the product has no variant (e.g. you removed it in Shopify), use Create variant in Shopify to create the initial variant with the minimum price.
Affirm: So that Affirm uses the customer's chosen price (not the minimum), in the theme editor open Affirm Product Promo → Advanced settings → Custom Price Selector and set it to #pwyw-affirm-price.