Skip to main content

How WooCommerce Transformed Cornforth's Wilderness Photography Site

6/1/2024
C
Cornforth Images
www.cornforthimages.com
Seattle, United StatesFounded 2013
💰
Monthly Revenue
Undisclosed
👨‍💼
Founders
Jon Cornforth
👥
Employees
1
🏢

Business Description

Cornforth Images, founded by photographer Jon Cornforth, offers high-quality wilderness photography prints and guided photo tours. Based in Seattle, the business blends nature exploration with fine art to deliver stunning print-on-demand images to customers worldwide.
📝

Executive Summary

Kool Kat Web Designs upgraded photographer Jon Cornforth’s website by fully embracing WordPress and harnessing WooCommerce’s flexibility to create an immersive print sales platform. The team implemented jQuery Isotope for dynamic puzzle-like layouts that display portrait and landscape prints seamlessly. Custom WordPress image sizes handled varying aspect ratios, while strategic hooks and filters removed default WooCommerce elements and injected unique features. On single product pages, users can preview prints in real environments—home, office, or restaurant—by tapping into additional hooks. For variable products, size and framing options were concealed on product pages and elegantly surfaced in a tailored cart layout via a custom variable.php template and modified JavaScript. Cart updates respect user selections by replacing core hooks, ensuring correct size and frame data. This project highlights practical template overrides, add_image_size usage, and judicious action/filter application to deliver a photography site that prioritizes visuals, functionality, and smooth user journeys.
📄

Case Study Content

Overview

Jon Cornforth, a landscape and wilderness photographer, was working off an outdated website that failed to do justice to his striking prints and exciting tours. He already had a WordPress blog and wanted to centralize everything under one modern site. His goal was to create an online gallery where visitors could easily browse, preview in real life settings, and purchase prints in various sizes and frames without confusion. To pull this off, Kool Kat Web Designs suggested using WordPress paired with WooCommerce as an e-commerce engine, then adding custom templates and code to bring Jon's vision to life.

Key Challenges

  • Cater to both horizontal and vertical images with inconsistent aspect ratios in a grid layout.
  • Create dynamic previews that show how prints look in homes, offices, or hotels on product pages.
  • Manage product variations like size and framing options without cluttering the product page.
  • Stay within a robust but flexible system using WooCommerce hooks and filters.

Our Approach

We started by registering a new image size for vertical shots withadd_image_sizein WordPress, while keeping the default WooCommerce thumbnail for horizontal prints. A simple height vs width check determined which image to load in templates. For the category archive pages we removed default titles and buttons and leveraged thewoocommerce_before_subcategory_titlehook. Then we plugged in thejQuery Isotopeplugin to pack these custom thumbnails into a puzzle-like mosaic that responds to window resizing.

Single Product Page Tweaks

In each product template, we injected environment preview images right after the add-to-cart button viawoocommerce_after_add_to_cart_button. Licensing info was added usingwoocommerce_after_add_to_cart_form. A custom product-image.php template shuffled the logic so that visitors see how prints look on walls.

Variant Options in Cart

Instead of showing size and frame selectors on the product page, we hid them with CSS and let users choose in the cart. A custom variable.php file mimicked the WooCommerce JS widget, but our own script intercepted changes and pushed them to the cart. We also swapped out the core cart update hook by unhookingwoocommerce_update_cart_actionand added our own function during init so selections would stick.

Results

Within days of launch, Jon reported a smoother checkout and fewer support requests. The responsive grid drew visitors deeper into the gallery. Previewing prints on real walls reduced order hesitation. Add-to-cart rates climbed and the overall feel matched Jon's brand aesthetic. The streamlined codebase also made future tweaks faster.

Conclusion

This project shows how a mix of core Hooks, filters, template overrides, and a touch of jQuery can turn a standard WooCommerce install into a custom gallery and sales platform that fits a photographer’s needs. It's not about redoing everything—it's about picking the right spots to override and letting the rest run on rock-solid WooCommerce foundations.

💡

Key Takeaways

  • 1Leveraged WordPress's add_image_size function to handle portrait and landscape prints with custom thumbnail sizes.
  • 2Implemented jQuery Isotope plugin to create dynamic, puzzle-like grids that showcase varying print orientations seamlessly.
  • 3Used WooCommerce action hooks to inject environment preview images and license details on single product pages.
  • 4Concealed variation options on product pages with CSS and surfaced them in a custom cart template via modified JavaScript.
  • 5Replaced core WooCommerce cart update hook with a custom function to ensure size and framing selections carry through correctly.
  • 6Reduced development time by using template overrides, filters, and hooks instead of building from scratch, boosting site performance.
🛠️

Tools & Technologies Used

🔒

Premium Content Locked

Subscribe to access the tools and technologies used in this case study.

Subscribe Now
🚀

How to Replicate This Success

🔒

Premium Content Locked

Subscribe to access the step-by-step replication guide for this case study.

Subscribe Now
Share:
✍️

About the Author

Founders Hut Logo

Founders Hut

Founders Hut is a leading online platform dedicated to sharing thousands of in-depth business case studies from successful companies around the globe. Since its launch, Founders Hut has empowered entrepreneurs, marketers, and corporate innovators with actionable insights drawn from real-world successes and failures.

Interested in Being Featured?

Share your success story with our community of entrepreneurs.

Get Featured
Disclaimer: Some data in these case studies may be inaccurate or out of date. In certain cases, AI-generated content is used.