This method uses the new Shopify Customer Account interface and places a link on the customer account menu to redirect to the standard Winehub customer portal. For a more seamless user experience, consider the more 'advanced' option below which edits your Shopify theme code to redirect all customers immediately to the standard Winehub customer portal.
2. Select Menus from within Content and navigate to the Customer account main menu settings.
3. Click Add menu item.
4. Enter the label name as desired and input the link to the portal and save.
https://mystore.myshopify.com/apps/winehub
[IMPORTANT: replace mystore with your Shopify store name]
Option 2 - Portal Redirect
This method edits your Shopify theme code to redirect the user to the Winehub Customer Portal, allowing a smoother user experience for members. It requires editing your Shopify liquid code, so is only recommended for more advanced users. We recommend creating a 'duplicate' of your Shopify theme before performing these changes in case there are any errors. This method is not suitable if you use any other apps that require the standard Shopify Customer Account.
1. If migrating from
Legacy Accounts,
click
Upgrade under
Shopify Settings > Customer Accounts

2. Navigate to Online Store in Shopify and select Edit code to open up the storefront code editor.
3. Select the Search icon from the left hand navigation and search for routes.account_url
Generally you will find 4 search results that look like this;
4. For each of these instances, use the code editor (on the right hand side of the screen) to replace the href with the following content
"/customer_authentication/login?return_to={{ "/apps/winehub" | url_encode }}"
If formatted correctly it should look as follows.
href="/customer_authentication/login?return_to={{ "/apps/custom" | url_encode }}"
5. Finally, save the theme and attempt to log in. After inputting the one-time code, you will be automatically redirected to Winehub's customer portal.
Metafields are Winehub specific fields that customise Shopify for wine (eg. Varietal, Vintage, Alcohol %, Tasting Notes etc). You have the option to use some or all of this these metafields on your website to enrich your product pages. Check out the instructions or view the video below for more detailed instructions of how to use these fields.
Add a metafields block
- Click on Online Store / Themes / Customise
- Navigate to your product template (you can also use a different template if you like)
- In the Left-Hand menu, 'Add section' in the place you'd like to add your meta fields
- Select 'Apps' then Product Metafields
- In the Right-Hand menu, choose which fields and how you'd like them to be displayed
- Save your changes
Add metafields individually
You may also specify metafields individually within regular content blocks rather than using the full block above. Full details in the video below.
- Click on Online Store / Themes / Customise
- Navigate to your product template (you can also use a different template if you like)
- Add a 'text block' or click on an existing text block
- In the Right-Hand menu at the top right of the text field, click the stacked disc icon
- Select each meta field that you want to include in your field
- Save your changes
4. Discount Pricing App Embed
To display pricing on the product page the customer has earned from perks via tiers, clubs, or exclusive products our discount pricing embeddable component can be enabled when customising your Shopify theme. Select the Winehub Extension app block from the list of app blocks to enable, via the app embeds menu below theme settings in the Shopify theme editor. The logged in customer will now see the perk price/s available to them next to the retail price* on the product page.
This can be toggled on to add pricing to the product page. Toggle the extension on and enable the pricing display.
Example applied to the theme.