Shopify Integration

Discourse has intergration with many social login methods already, and it’s very nice.

Can it intergrates with e-commerce platforms like Shopify so users of an existing e-commerce community can login via the same account everywhere for that company?

Example: http://forums.envato.com uses the same login everywhere throughout their site.

إعجاب واحد (1)

Shopify supports oauth2 GitHub - Shopify/omniauth-shopify-oauth2: Shopify OAuth2 Strategy for OmniAuth 1.0 it is possible you could simply use our existing oauth2 plugin for it. Otherwise someone could build a plugin for it.

Edit by @david, Oct 2020: Shopify oauth2 is for shop owners only, not end-users.

6 إعجابات

Thanks, where can I find existing oauth2 plugin for Discourse? I’m new and recently just bought Discourse standard plan.

And does oauth2 plugin for discourse supported on Hosted Discourse version, standard plan?

I guess this one Discourse OAuth2 Basic

إعجابَين (2)

For our hosting, OAuth 2 is only supported on the business plan and higher.

إعجاب واحد (1)

Ah I see. I’d love to upgrade to it if I know for sure it works with Shopify user accounts. Can you let me know please? i’m not familiar with OAuth2 documentation.

How could i integrate my email service with discourse. Currently i have created a shopify store for dropshipping purpose and i write those steps as a article. So i need to know about email integration which i will also add in article. i will also share article that i have written. After 6 days no one response me you can see withintheflow.com where my friend write too many education content for drop-shipping and their platform so if you are willing then please let me know.

I’m not aware of any existing plugins that have the functionality you are looking for, but Discourse has several options for interfacing with other apps like MailChimp, ConvertKit, or Shopify. You could use webhooks, the api, and/or the data explorer to gather the email addresses you are looking for and send them to your email service. Also a custom plugin could also be created.

إعجابَين (2)

Hey guys, I was wondering if there were any articles showing how to add discourse to my Shopify store. (forum.mystore.com)

Any pointers would be awesome!

There really isn’t a concept of “adding” Discourse to an existing site. You create a Discourse site, and then link to it from your existing site.

Here’s a rough overview of what that process would look like:

You’d set up a Discourse site in its own environment (hosted with us or self-hosted with Digital Ocean or any other compatible hosting service).

You’d then setup the DNS with your domain registrar so your forum can be accessed at forum.mystore.com

You can optionally install and configure an OAuth2 plugin so that your customers can log in to Discourse with their Shopify account.

Then it’s a matter of including a link to your forum from your store and including a link to your store from the forum — you can also optionally theme your Discourse site to match the design of your Shopify store too.

11 إعجابًا

Awesome, thank you so much Kris! Very helpful

إعجاب واحد (1)

Hi @electricjared,

If you want to sell products in your Shopify store that can then be accessed in your Discourse site in private Categories, you could talk to @joebuhlig about building a technical integration between the two.

إعجاب واحد (1)

مرحباً بالجميع، لقد كنت أحاول تفعيل OAuth بين Shopify وDiscourse، وأتساءل عما إذا كان أي شخص قد نجح في ذلك؟ نواجه الكثير من الصعوبات، حيث يبدو أن Shopify لا تدعم فعليًا OAuth لحسابات العملاء.

قد تحتاج إلى استخدام ويب هوك في المنتصف لاستلام المعلومات من Shopify ثم إجراء استدعاءات API إلى Discourse.

لكن إضافة مكون إضافي يستقبل اتصالاً من Shopify قد يكون أسهل.

إعجاب واحد (1)

نحن متأكدون إلى حد كبير أن الويب هوك غير موجود (مع معلومات العميل/المستخدم). نحن نحاول تجنب إضافة مخصصة بالكامل (نحن نعمل بموارد محدودة). :slight_smile:

إعجاب واحد (1)

إذا لم ترغب في استخدام إضافة، فستحتاج إلى شيء مثل Zapier كوسيط.

إذا لم يستطيع Shopify استدعاء Webhook عند إنشاء مستخدم أو إضافته إلى عضوية (وهو أمر يبدو غير مرجح)، فلا يمكنك فعل أي شيء.

إعجابَين (2)

هل تمكنت من جعل بيانات تسجيل الدخول الخاصة بـ Shopify و Discourse تعمل في كلا الإعدادتين؟

إعجاب واحد (1)

ليس على الإطلاق. نظام المصادقة الخاص بـ Shopify، حسب ما تمكنا من جمعه، لا يسمح بذلك.

لم نجرب Zapier، وذلك أساسًا لأننا نأمل في الحصول على حل مصادقة حقيقي. نحن محبطون للغاية، وذلك بشكل أساسي تجاه Shopify.

4 إعجابات

آه، هذا محبط! كنت أبحث عن نفس الشيء! إذا كان هناك أي شخص مستعد لإنشاء إضافة لجعل هذا يعمل، ربما يمكن لبعضنا تجميع الموارد لإنجاز ذلك؟

هل هناك أي تحديث بخصوص هذا الأمر الخاص بتسجيل الدخول الموحد بين Discourse و Shopify؟