Guide: Testing Shipping Thresholds
Setting up shipping threshold tests can be very technical, requiring thorough QA and monitoring to ensure tests are set up correctly. Therefore, we suggest working closely with a team of developers or upgrading to our Pro plan before launching a test on shipping thresholds.
Testing different free shipping thresholds requires passing test assignment data through to checkout. Here's the recommended approach:
Step 4: Implement Assignment Logic
You have two options:
Recommended: Shopify Function Write a Shopify Function that reads the cart attribute and returns the corresponding shipping rate at checkout. This approach is cleaner and more stable for checkout-level control.
Alternative: Theme Logic Implement similar logic directly in the theme (can do this with JS API or theme tests). This works but offers less reliable control at the checkout stage.
Last updated
Was this helpful?