Sunshine is not really geared towards selling videos but there is a workaround with a small known feature of the Digital Downloads add-on.
Tips, Tricks & How-Tos
Often times we need to see what PHP errors are appearing in order to help identify an issue with Sunshine on your site. WordPress makes this pretty easy to enable. Find your wp-config.php file and add the following code: define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, false ); This will enable debug […]
Some users have expressed an interest in setting the default quantity to 1 when the Lightbox window loads. You can do so by adding the following code to your theme’s functions.php file or using a plugin to add it. The reason it is 0 by default is to make it a more purposeful action to select […]
The Digital Downloads add-on comes with many features, one of the few known is the ability to sell the digital negatives for an entire gallery as a single product. This is not setup as a normal product which is why it needs a little different explanation on how to setup. Setting up prices in admin Go to Sunshine > Settings […]
Using WordPress filters, we can modify which links appear in Sunshine’s Main Menu. You can either add some PHP code to your functions.php file (or use the plugin Code Snippets) to entirely remove the links or use CSS to hide the links. View the code on Gist.
Sunshine has an option to show the image name under the thumbnails in the Gallery view. In Sunshine > Settings > Galleries > Show Image Name option. First step is to enable this option. Now we need to add some custom code either to our theme’s functions.php file or use a plugin like Code Snippets to […]
Some users have wanted to make specific products only available in a Package and not available for individual purchase. Packages do require that you only use existing products. However, in Sunshine any product that does not have a price (left blank) is not available for purchase. If you set a price to “0”, then it is offered […]
Many Sunshine users password protect every single gallery. Some of you don’t want your users to see other galleries. You can create a simple password field landing page where users are prompted to enter their gallery password. If they enter a valid gallery password, they are then automatically taken directly to the gallery.
It can be helpful to run some test purchases to make sure everything is working how you want it with your Sunshine install. PayPal has a Sandbox which is an almost exact clone of the live site where you can make test accounts and run test purchases.