WordPress allows you to override the Troly plugin's default template style to accommodate your theme.
To do this, you can copy the files from the Troly plugin to an appropriate folder inside your theme.
Customize the 'Newsletter' form
You can alter the text shown to members at club sign up by using copying and amending the included newsletter.php file located inside the Troly plugin.
- Copy files located in the following folder:
/wp-content/plugins/subscribility/includes/frontend/views/newsletter.php
- Paste the files in the appropriate folder in your theme:
/wp-content/themes/your_theme/troly/newsletter.php
You can amend items on this page such as placeholder text to suit your locale.
Customize the 'Club Sign Up' form
You can alter the text shown to members at club sign up by using copying and amending the included registration_form.php file located inside the Troly plugin.
- Copy files located in the following folder:
/wp-content/plugins/subscribility/includes/frontend/views/registration_form.php
- Paste the files in the appropriate folder in your theme:
/wp-content/themes/your_theme/troly/registration_form.php
You can amend items on this page such as placeholder text to suit your locale.
Customize the 'Product Information' tab
You can alter how information is showed on your 'Product Information' tab on your website:
- Copy files located in the following folder:
/wp-content/plugins/subscribility/includes/frontend/views/woocommerce/single-product/tabs/troly
- Paste the files in the appropriate folder in your theme:
/wp-content/themes/your_theme/woocommerce/single-product/tabs/troly
Plugin updates and risks
Please note that future updates made to the Troly plugin may break the changes that you make to your theme. It is your responsibility to update your files and the plugin accordingly.
File Descriptions (Special Pages)
Name | Purpose |
---|---|
newsletter.php | Provides a fragment for you to allow customers to join a mailing list |
registrations.php | Lists the available clubs and provides a signup form for customer |
File Descriptions (WooCommerce)
Name | Purpose |
---|---|
awards.php | Show the awards your product has received |
categories.php | Lists the categories assigned to your product |
cellar_until.php | Displays the value of the 'cellar until' field |
description.php | Displays the product description |
matching_foods.php | Lists the matching foods for the product |
price.php | Shows the price of the product
If you are signed in as a member, we will automatically show member pricing. Six-pack and twelve-pack (case) pricing will be shown if they are less than the current retail or member price of the product. |
tags.php | Lists the tags you've added to your product |
tasting.php | Displays the tasting notes assigned to the product |
vintage.php | Displays the vintage information (i.e. year) of the product |