
Some details
REQUIREMENTS
Silipint team already had the design for their new site, and we were about to code it. The idea behind redesign was all about functionallity changes, easier user experience, and more intuitive admin site management.
They needed the backend logic for how the new cart would work: free shipping and different gifts insertion based on what’s the current value of the cart.
Second
requirement was to have the possibillity of selling 2 products on the same product page (Cup as the main product, and a llid, complimentary and optional one), they would get the combined price on product page, but once added to cart, they would be added as 2 separate products for easier management and tracking.HOW WE DID IT
Gifts for the cart are managed in a custom coded admin page unded Woocommerce. Silipint can easily add new rules and tweak the existing ones. They can add a “start” and “stop” checkpoints and the ID of the product that is supposed to insert into cart once site user reached set checkpoint. Technically speaking, this was done with WordPress’ settings API and ajax checking and calculation on the front-end on each cart interaction.
Product page is built as a variable product. Each main product (cup) has variations that each have their image, name and price that may differ. Complimentary products (lids) , also each having variations (image, name, price), and then attached to the main product under linked products.