Skip to content
💸 Introductory Pricing: Save 50% on bundle plans for your first year Get deal

Customize layouts and emails with template overrides

Sunshine Photo Cart is a highly customizable client galleries WordPress plugin, allowing photographers to create a photo selling experience that meets their specific needs. One aspect is the ability to customize the template files to update the layout of any aspect of Sunshine Photo Cart and even emails.

Finding existing template files

  1. Download the Sunshine Photo Cart plugin zip file from
  2. Unzip the file and find the "templates" folder. These are the core template files in use throughout Sunshine Photo Cart.

Implement custom template files in your theme

  1. Create a "sunshine" folder within your theme. For example, a new folder at "wp-content/themes/your-theme/sunshine".
  2. Copy the template file you want, being sure to maintain the same folder structure within your new folder. Example, if you want to use a custom template for a line item in the cart, you would copy "sunshine-photo-cart/templates/cart/item.php" to "wp-content/themes/your-theme/sunshine/cart/item.php"
  3. Customize the new file in your theme as needed.

If you customize templates, support is not guaranteed on all functionality within Sunshine. Some functionality requires specific CSS classes and IDs to integrate with JavaScript. Proceed with caution.

Still need help?

If you have not yet found your answer in the documentation articles, please contact support