1. Documentation /
  2. Pharmacy - Storefront Child Theme

Pharmacy – Storefront Child Theme

A WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allow you to modify, or add to the functionality of that parent theme. —WordPress Codex: Child Themes
Pharmacy is a child theme for Storefront, the official WooCommerce theme. If offers a clean, professional design that lends itself to medical/pharmaceutical items and equipment.

Installation

↑ Back to top
Pharmacy is a Storefront child theme, so you first need to install and set up Storefront and then Pharmacy afterwards.
  1. Download Storefront for free by at WordPress.org.
  2. Download Pharmacy from your WooCommerce.com account at My Downloads.
  3. On your website, go to Appearance > Themes and click the Add New button. 
  4. Click Upload to upload the Storefront .zip file from step 1.
  5. Go to Appearance > Themes to Activate.
  6. Repeat steps 3-5 for the Pharmacy theme from step 2.
More information at: Installing and Configuring Storefront and Managing WooCommerce.com Subscriptions.

Setup and Configuration

↑ Back to top
Once installation is complete and the subscription is activated for Pharmacy, it’s time to configure and set up your theme. More info at: Storefront theme documentation and WordPress child themes in the WordPress Codex.

Recommended Image Sizes

↑ Back to top
There are no specific image size requirements for Pharmacy but we provided images sizes used on our demo for reference.
  • Catalog Images: 600 x 600 px
  • Single Product Image: 600 x 600 px
  • Product Thumbnails: 180 x 180 px
The original uploaded images we used were 1500 x 1500 px. WooCommerce Product Image settings are found at Appearance > Customize > WooCommerce > Product Images. More at: Managing Product Images. More information on WooCommerce image sizes can be found at:

Demo Content

↑ Back to top
It’s possible to import WooCommerce Dummy Data to populate your site with demo products as a starting point. Note: We do not supply the exact images you see in our Pharmacy demo due to copyright restrictions. The WooCommerce Dummy Data instead comes with our own unique unrestricted images that we can redistribute within product import data.

FAQ

↑ Back to top

I’m using the Storefront Designer extension but noticed some settings are missing

↑ Back to top
Pharmacy applies some specific styles to elements like buttons and the header layout, so these settings are removed from the designer to avoid confusion.

How do I control which categories are displayed on the homepage product category section?

↑ Back to top
They are the three first top level (parent) categories as arranged on the product categories screen in your dashboard. You can drag and drop categories there to rearrange.

On the demo, there is a mega menu item in the header, how do I enable that?

↑ Back to top
This is an instance of the Storefront Mega Menus extension.

On the demo, in the sidebar there is a product highlight, how do I create that?

↑ Back to top
This is an instance of the Storefront Product Hero extension added to the sidebar via shortcode inside a text widget.

On the demo homepage, there’s a large image with some text overlaid, how do I do that?

↑ Back to top
This is an instance of the Storefront Parallax Hero extension.

On the demo homepage, there’s a Product Reviews section, how do I do that?

↑ Back to top
This is an instance of the Storefront Reviews extension.

I’m using the homepage template but don’t want to display the the page title / content

↑ Back to top
If you don’t want to display content simply don’t add any. To hide the title you can use this plugin which gives you the ability to hide the page title on any page across your site. Alternatively use the Homepage Control plugin to toggle the display of this component.

Can I customize the look and feel of my blog pages?

↑ Back to top
You sure can. Take a look at the Storefront Blog Customizer extension to see what’s possible.

Can I customize the look and feel of my checkout?

↑ Back to top
You sure can. Take a look at the Storefront Checkout Customizer extension to see what’s possible.

Can I customize the look and feel of my WooCommerce pages?

↑ Back to top
You sure can. Take a look at the Storefront WooCommerce Customizer extension to see what’s possible.

How can I customize my site when using a child theme?

↑ Back to top
A lot of WordPress tutorials will recommend inserting code snippets into a child themes functions.php file. This is to ensure that you’re always able to update the parent theme without losing your changes. As Pharmacy is already a child theme, you aren’t able to do this. Any changes you add to Pharmacy’s functions.php file will be lost when you perform an update. Instead, it is recommended that you add any code snippets to a customization plugin. We’ve created a plugin you can use to do just this. Download Theme Customizations.

Questions and Feedback

↑ Back to top
Have a question before you buy? Please fill out this pre-sales form. Already purchased and need some assistance? Get in touch with a Happiness Engineer via the Help Desk.