Shopify is one of the leading eCommerce platforms currently available. It offers a secure shopping cart with 70 different payment gateways and can be set up to function in a myriad of ways. Shopify can also be integrated it with WordPress.
In this tutorial, we will show you how to set up Shopify and integrate it with a WordPress site.
Step 1 – Start with Shopify
First, you will need to set up your new Shopify. The basic step-by-step process is:
- Visit the Shopify website.
- Choose from one of three pricing plans, or try the free trial.
Step 2 – Add Shopify to a Self-Hosted WordPress Site
The beauty of integrating Shopify with WordPress is you that you do not have to deal with any complex SSL issues. Shopify has made it relatively simple to achieve full integration.
For this, you will need to go to Appearance>Menu found on your WordPress dashboard. Locate the ‘Custom Links’ tab and add your store link to the menu. Now your customers will be able to see that you have a store. Each time they click through from the link, they will be taken to the Shopify store.
The only problem remaining is the customer still has to switch domain names.
Step 3 – Integrating Products
This step involves actually adding Shopify products to your WordPress website. Begin adding products via the Shopify dashboard. You will find the admin area appears similar to the WordPress one, making this process easy if you are already familiar with WordPress.
Shopify’s Buy Button app must be activated as well. Go to the App Menu in the Shopify dashboard and go to the apps store. Find this app and activate it.
Go to the app’s settings and select the products you wish to include within this app. Choose a product and you will be taken to another screen. This will show you how this product will appear on your WordPress site. Generate the embed code.
Select ‘I need to add script tags separately’. The code will now be broken up into two sections. The first section needs to go in the header.php file of your WordPress website. We recommend placing it just before the </head> tag.
Each time you add a product, you only need to add the code in the second box. The second part of the code can go on any widget, page, or post and your product will appear.
Now your products should appear wherever you want them to.
You may ask what the point of your Shopify site is once you integrate it with WordPress. The principle of integration does not change the fact that Shopify is the foundation of your store. It is where, among other things, you will make alterations to payment methods and edit products. Those changes will then be reflected on the WordPress product pages.