Can I integrate a Shopify shop on my Drupal website?

Dear community,

We run a online magazine on a drupal website and would like to integrate a shpify shop onto there. I have these questions:

(1) Is this still possible via https://www.drupal.org/project/shopify?

(2) In case yes, does the shopify module also work for Drupal 9?

(3) Which theme would one use, would it be a theme based on Shopify or on Drupal?

Here is some more information:

https://ostraining.com/blog/drupal/shopify/

https://youtu.be/qoXjLcMJMy4?t=294

Is this still best practice?

Looking forward to your posts :slightly_smiling_face:

WIth kind regards

Yes, it is still possible to integrate a Shopify store into a Drupal website using the Shopify module.

Regarding your questions:

(1) Yes, the Shopify module can still be used to integrate a Shopify store into a Drupal website.

(2) The Shopify module has not been updated for Drupal 9 yet ( to the best of my knowledge) so it may not work with Drupal 9. You should check the module page on Drupal.org for any updates or compatibility information.

(3) The theme used will depend on your specific needs and preferences. If you prefer the look and feel of Shopify themes, then you can use a Shopify theme. If you prefer the functionality and customization options of Drupal themes, then you can use a Drupal theme.

The information provided in the links you included may still be useful for your integration. However, as technology and best practices are constantly changing, it’s always a good idea to verify the information and seek the help of an expert if needed.

In conclusion, the best approach will depend on your specific needs, preferences, and the capabilities of your Drupal website. Is there a specific reason why you dont want it hosted on one platform only?

Dear Jrod,

Thank you very much.

I would also be interested in the answer, if I have to delete all the content when we add a shopify shop onto Drupal, or if this can exist next to eacht others.

In detail:

We run an online magazine with hundreds of magazine articles on a specific domain. Can we just add a shopify shop onto the same domain next to the online magazine into the same drupal system? Or would the shopify shop need to replace the existing content on the domain? How could this go hand in hand with each other?

Looking forward to your message.

With kind regards

David

Hey David!

You don’t have to delete all the content on your Drupal site. Instead, you can add the Shopify store as a new section on your existing site, and integrate it with your existing content.

To do this, you can use the Shopify Buy Button or the Shopify API to add e-commerce functionality to your Drupal site. With the Buy Button, you can add individual products or collections to any page on your site, and with the API, you can build a custom integration to show your products and manage your orders from within your Drupal site.

Keep in mind that integrating Shopify with Drupal may require some technical skills or the help of a developer, but the end result can be a seamless integration of your online magazine and e-commerce store on the same domain. ( I know a very skilled person that has helped me in the past for a project if needed btw!)

best,

Jonathan

Dear Jonathan,

Thank you so much for your clearifications, I really appreciate this.

I lately talked to the developers of this module: https://www.drupal.org/project/shopify They said this project is no longer supported.

Basically there are two options, we do dropshipping:

Option A

  • compiling the dropshipping shop based on the perselected products of the dropshippers
  • setting up the dropsipping shop on Shopify
  • bringing the products onto the Drupal environment using the Drupal API

Option B

  • compiling the dropshipping shop based on the perselected produtcs of the dropshippers
  • asking the dropshippers for the product feed/XML product data feed
  • trying to setup the shop on Drupal using Drupal Commerce

I got these questions:

  1. Please correct me if I am wrong, it is much better to use the API of Drupal in combination with Shopify, right?
  2. So using the API of Drupal to connect the Shopify store, is this already possible with Drupal 9?
  3. If so, is there any best practice whitepaper or anything like this I could take a closer look at?

Fore sure, there will result developing tasks. But as far as I know going with the Shopify option A is much more flexibel and cheaper, since Drupal Commerce would bring up much more developing challenges and less flexibility.

What do you think?

Wishing you a nice day.

With kind regards,

David

Hey Dave - sorry for the delay!

Regarding your first question, it would be better to use the API of Drupal to connect with Shopify because it allows for more flexibility and control. Using the Drupal API, you can access and manipulate data from Shopify and integrate it into your Drupal site. This approach gives you more control over the look and feel of your site, as well as the functionality and features you want to include.

Now, there are plenty of resources available online that can guide you through the process of using the Drupal API to connect with Shopify. You can start by checking out the Drupal API documentation, Shopify API documentation, and any third-party modules that are available to help with the integration.

In terms of the best approach, it really depends on your specific needs and preferences. Option A using Shopify may be more flexible and cost-effective for you, but if you want more control and customization options, then Option B using Drupal Commerce might be a better fit. Ultimately, it’s up to you to weigh the pros and cons of each option and determine which one best fits your needs.