The brand sells phone cases and accessories through collections that serve both everyday browsing and advertising campaigns. Campaign visitors arrive with a particular promoted product in mind, while other shoppers browse the collection in its usual order. The same page therefore needs to support two different routes into the store.
The customization connects campaign entry conditions with product placement. Agreed URL parameters identify the relevant visit and bring the designated product to the front of the collection. Regular visits retain the default sort order, allowing campaign merchandising and everyday browsing to run alongside each other.
The project also includes gift-with-purchase logic in the cart. Qualifying products, gifts and promotion conditions need to work together within the purchase journey. Our team developed and tested these targeted features within the existing store, covering entry detection, collection sorting and cart promotion handling.
The challenges
One collection, different entry points
Visitors arriving from ads need to see promoted products first, while organic visitors should retain the collection's default sort order.
Gifts must meet promotion criteria
Gift-with-purchase is a cart-level workflow. The main product, gift and eligibility conditions need to be tested together.
02Our scope of work
Define the rules
Map campaign entry parameters to the products that should appear first, and clarify the relationship between qualifying items, gifts and promotion conditions. Define collection presentation and cart handling as separate, testable rules before implementation.
DeliverableEntry conditions and promotion rules
Collection sorting logic
Implement campaign-parameter detection and conditional product prioritization within the collection. Check the displayed order and product links for campaign visits, while preserving the default order for regular browsing.
DeliverableProduct order tailored to the entry route
Gift-with-purchase logic
Implement cart promotion handling around the approved qualifying-product and gift relationships. Connect the rules to product selection and add-to-cart activity, then test how eligible gifts are handled within the existing purchase journey.
DeliverableCart promotion handling
Scenario-based integration testing
Test the collection through campaign links and regular entry points, checking product order and onward browsing. Verify eligible cart scenarios, refine the integration based on feedback, and demonstrate the agreed rules for acceptance.
DeliverableRule-based functional validation
03Pages, features and journeys
Project interface
01
Connect campaign visits with promoted products
The collection links product placement to campaign entry conditions. Visitors can continue from the product list to individual styles and details, while regular visits retain the collection’s usual sort order.
Prioritize the relevant product for campaign traffic.
Preserve the standard browsing order for other visitors.
Project interface
02
Connect promoted products with purchase decisions
The product page presents color, device model, quantity and add-to-cart controls after shoppers arrive from a collection. The custom work focused on promoted-product placement and gift rules, with landing parameters and promotional scenarios tested around the purchase journey.
Collection and detail pages form a connected shopping path.
Gift-rule testing was tied to eligible products and purchase scenarios.
WORKFLOW ILLUSTRATION
Campaign entry
Landing parameters
Identify the product specified for the campaign
Collection display
Promoted placement
Prioritize the product associated with the advertisement
Purchase scenario
Agreed gift rules
Apply the gift rule to the eligible product and conditions
Functional relationship: campaign landing → promoted product → gift conditions
03
Connect campaign entry with promotional rules
The two custom features serve different stages of the shopping journey: campaign parameters prioritize a specified product in the collection, while eligible purchases follow the agreed gift rules. Testing connected landing parameters, product placement and promotional conditions.
From campaign visit to cart promotion
The two features help visitors find promoted products and apply gift-with-purchase rules.
Open a campaign link
The visitor opens a collection through a link with the agreed parameters.
See the promoted product first
The collection recognizes the entry conditions and prioritizes the designated product.
Select a qualifying product
The visitor opens a product and adds an eligible item to the cart.
Apply gift-with-purchase rules
The cart processes eligible gifts under the agreed conditions before the customer continues purchasing.
04Technical approach and workflows
Key decisions
Distinguish campaign traffic from regular visits
Use entry conditions to determine when product prioritization applies, preserving an appropriate sort order for each browsing path.
Integrate promotion rules into purchasing
Validate qualifying products and gifts together within the cart, using agreed test scenarios.
Functional layers and information flow
The existing store connects two focused features: collections use entry conditions to determine product placement, while the cart applies qualifying-product and gift rules. Both operate within the same purchase journey.
Entry-condition detection
Identify campaign visits using agreed URL parameters.
Pin the designated product only when the entry conditions match.
Collection presentation
Prioritize the target product within the collection.
Keep the existing collection order for regular visitors.
Shopping Cart Rules
Integrate qualifying-product and gift conditions into the existing purchase flow.
Test gift handling and cart outcomes against promotion requirements.
01
Entry route
Campaign parameters or regular visits
02
Collection page logic
Evaluate conditions and adjust product placement
03
Shopping Cart Promotion
Check qualifying-product and gift rules
A simplified workflow diagram showing responsibilities and information flow.
05Delivery and validation
Confirm entry conditions and promotion criteria
Confirm campaign parameters, pinned products, qualifying products and gift rules.
Stage output Entry conditions and gift rules
Implement both features
Implement conditional product pinning in collections and qualifying-product/gift handling in the cart.
Stage output Collection and shopping cart functions
Scenario-based integration testing
Test campaign and organic visits, then verify gift results across cart scenarios.
Stage output Verified rule-based outcomes
Testing and Delivery
Test the existing purchase journey, demonstrate the approved rules and hand over the features.
Stage output Validated custom features
Validation checklist
Campaign entry
Verify the mapping between parameters and target products, and check product prioritization when the conditions are met.
Regular visits
Open the collection without campaign parameters and confirm the default sort order.
Promotion eligibility
Check cart behavior against the qualifying-product and gift rules.
Existing purchase journey
Test the integration against the established store's purchase journey.
06Deliverables and project value
Clearer campaign destinations
Campaign links determine where the promoted product appears in the collection.
Default sorting preserved
Regular visitors retain the default product order.