Campaigns
Product experiments
2min
Price experiments are built around Shopify's Cart Transform Functions, allowing dynamic price adjustments in the cart and at checkout. The entire price testing logic is based on the campaigns configured in Personizely.
- Creating the campaign – You define the variations and their price adjustment rules.
- Activating the campaign – Once activated, the Shopify Cart Transform Function applies the specified rules to your store.
- Price adjustments
- Storefront – Prices are adjusted using our client-side script. Using predefined CSS selectors, the script locates and replaces the elements displaying the product price and the compare-at price. The configuration for these selectors is detailed in the Settings section.
- Cart and checkout – Prices are modified through a Shopify Cart Transform Function, ensuring price consistency according to the test rules. The transformation rules are stored in product metafields, which are read by the function during the cart update process and applied when the product is added to the cart.
- Your store must support Shopify Functions (Available only to stores on the Shopify Plus and Development plans).