Skip to main content
All Collections
Integrate my store with Shopify
Integrate my store with Shopify

We'll show you how to create a Shopify store, import your posts, and create a direct buy button to your Post store.

Lara Macarena Sastre avatar
Written by Lara Macarena Sastre
Updated over a year ago

If you don't have a Shopify store yet, we want to encourage you to create one so that you can be present to your audience from other means, increase your income by at least 10% with little effort and help your SEO.

⚠️ Before starting, you need to have created a store in Publica. Here we share an article to our help center where we show you step by step how to create it.

In this article you will learn to:



Create a store on Shopify

1. Sign in to Shopify and click Get started :

Screen Shot 2021-06-24 at 17.42.37

2. Complete the requested fields and click on Create your store :

3. Log in with the email and password you created in the previous step:

Screen Shot 2021-06-24 at 17.47.21

4. You have already created your store!

Shopify offers you a 14-day trial , then you must select the plan that best suits your needs.

You'll be able to continue with the setup tasks and start uploading products by following the documentation in the Shopify Help Center .



Import your posts from Publish to Shopify

⚠️You must have publications loaded in your inventory
Once you have your stores created on both platforms you can continue with the following steps.

1. Go to Control Panel > Content > My inventory (or Control Panel > Publications ) from your store .

2. Click Export > Export Excel:


You will receive by mail the information of publications that you have loaded in the store.

3. Open this sample spreadsheet . Click File > Make a copy .

Once you have your copy, you can edit the content with your information.

4. In the spreadsheet you will find two sheets: " Export from Publica " and " Import into Shopify ".

In the " Export from Publica " sheet you will need to replace the data by pasting the information you exported in step 2. Automatically (using formulas), it will be converted in the "Import into Shopify" sheet to the format required by Shopify.

5. Navigate to the "Import into Shopify" sheet and click File > Download > Comma Separated Values ​​(.csv format) .


6. Once you have your csv downloaded, you must import it into Shopify. We share here the link to the documentation of said platform so that you can continue with the process.

NOTES:

- Note that you can edit/add additional fields in the spreadsheet to import into Shopify. Here we share the Shopify documentation with the detail of the headers.

Set up a Shopify buy button direct to your store in Post

1. Go to your Shopify store > Applications:

2. Click on " See more apps in this collection ":

Screen Shot 2021-06-16 at 00.42.44


3. Search for " Outlink " in the Shopify app store:

Screen Shot 2021-06-16 at 00.36.21

Click on the application and add it (Add app)

Now you have Outlink in your applications:

4. Go to Online Store. Click the " Actions " dropdown menu:


Select " Edit the code ." The following view will open:

Look in the Sections folder for the component " product-template.liquid "

5. Now we will look for the code snippet that we need to edit. Press CTRL+F (Windows, Linux and Chrome OS) or ⌘ + F (Mac), a search box will open:

There you will have to write " add_to_cart " to find the following snippet:



6. Below the button's closing tag (</button>) and just before the if, we need to add a line of code that will enable the button to the store.

The code you must enter is:

It will look like this:

7. Click Save :

Screen Shot 2021-06-16 at 01.07.07

8. Go to Products and click Add Product:

9. Complete the fields and click Save:

10. Click on " More actions " and click on Outlink :

11. A new tab will open where you must edit the text of the button and place the link to the store . Remember to click Activate (On) and Save (Save)

Make sure it is enabled from Bulk Editor > Via search :

12. You can see in the preview the button you added:

Ready! 🙌🏼 You have added the buy button from Shopify to your Post store.

Here we share the link to the Shopify help center, do not hesitate to contact their Support team in case you need assistance.

Outlinks bulk edit (Pro version)

If you have the PRO version of Outlinks, you can bulk import the URLs of your purchase buttons.


1. Go to your Shopify store > Products and export the list of your products:

Screen Shot 2021-06-24 at 18.20.00

2. Open the file you exported in a Google Sheet or Excel spreadsheet:

From this form we will obtain information that will allow us to massively import the links to the purchase buttons. In the next steps we will create the form required by Outlink.

3. Open a new Excel spreadsheet or Google Sheet. You should take into account the following Outlink specifications:

- Maximum file size: 10 MB.

- A maximum of 2000 products must be included in the CSV. If this limit is exceeded, only the top 2,000 products will be edited.

- The first row of the CSV must have the following headers:

  • handle : The handle of the product in Shopify (available in the spreadsheet you exported in step 2).

  • externallink : This is the Outlink you want the products to link to. (Here you must add the link to your Publica store).

  • buttontext : The text to display on the external link button.

  • isactive : 1 (one) - indicates that the Outlink should be activated in the store. 0 (zero) - indicates that the external link should be down. Default value: 1

4. Complete the information of your products below each header, for example:


Download the file in CSV format.

Find the file on your computer by clicking Browse and upload it by clicking Upload File.

6. Click Start Edit . The app will edit the products based on the CSV file. Once the editing is complete, you will receive an email with the updated results.

Ready! Your products will look like this:

Here we share the official Outlink documentation.

We hope this tutorial has been easy for you. If you have questions, write to us at [email protected]

Did you find your answer?

😞 😐 😃

Public Help Center.la
Did this answer your question?