“Wanting to serve beer at his company’s trade show booth to promote Tazlab’s new travel silicone Aqua-Fur Dog Bowl, Rick Fredland discovered an incredible hole in the drinkware market. The simple, durable and versatile silicone material, he thought, could make a perfect pint “glass” marketing piece, if he could customize it.
Risks were taken, creativity was encouraged, people forged together, and a company was born.”
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 mamagement.
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 managing 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. Then, once saved, combinations screen appears for admin, and he is then able to select the matching image for each cup / lid combination. Those images are used in the slider when matching cup / lid is selected.
Tech: WordPress, Woocommerce, ACF Pro, es6, AJAX
Zakuvavanje is a fine-dining food blog run by two professional chefs and a web developer with a great passion for cooking.View Project
DreamHost proudly hosts over 1.5 million websites, WordPress blogs, and applications for designers, developers, small businesses, and more.View Project
Feeling ready to kickoff a project with us or still have a couple of questions. Reach out via form.