Post by GWShop » Mon Jul 12, 2021 6:26 pm

I have an online shop with Opencart and a Facebook page . I want to connect them so that any customer can chat with me through the main page and the message will appear in my Facebook page.

Are there extensions which can do this job? I found some but they seem to support older versions. I will wait for comments and extensions links from those who have actually made this thing work for their shop. :)

I have version 3.0.3.7.
Thank you.
Last edited by GWShop on Fri Jul 16, 2021 5:41 am, edited 3 times in total.

New member

Posts

Joined
Mon May 24, 2021 1:46 am

Post by straightlight » Mon Jul 12, 2021 7:16 pm

GWShop wrote:
Mon Jul 12, 2021 6:26 pm
I have an online shop (http://3.0.3.7/) and a Facebook page . I want to connect them so that any customer can chat with me through the main page and the message will appear in my Facebook page.

Are there extensions which can do this job? I found some but they seem to support older versions. I will wait for comments and extensions links from those who have actually made this thing work for their shop. :)

Thank you.
Yes, of course, a website that shows the OC version.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by by mona » Mon Jul 12, 2021 7:44 pm

Facebook Messaging and Facebook Chat are different things.

I have an extension that you can embed Facebook (any or all of the Facebook - timeline, events, messaging). So you can stay on your site and use the messaging function. Chat is different.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by GWShop » Fri Jul 16, 2021 5:42 am

Sorry.

I have version 3.0.3.7 and I want an extension in which users will send a message and this message will show up in my Facebook page.
So I should be able to showup like I am online (24/7) and communicate with them at any time. A popup will obviously appear in my Facebook when a message comes in (I have this already setup for my Facebook page).

Any help?
Thank you.

New member

Posts

Joined
Mon May 24, 2021 1:46 am

Post by by mona » Fri Jul 16, 2021 7:10 am

I am not sure this is what you want but my LINKS module will do this
https://www.opencart.com/index.php?rout ... n_id=33048

As a quick mock-up - quality is not great - I just did it quickly - I used an image - but it will use an chat icon
https://www.youtube.com/watch?v=oETnRZCLjpc

You can have it embedded into your footer - have it slide in (like mock-up which is what people expect) - sit it at the bottom and open all the time

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by GWShop » Fri Jul 16, 2021 8:51 am

In the first link I see a generic multi-extension for social media, which does not mention that it supports Facebook messenger!

In the second link I see a youtube video which SKIPS the most important part. HOW we integrate the Facebook connection and how the user will interact and chat from A to Z . Without skips.

Not even a teenager would buy this.

Anyone else who has actually tested this in his shop?

I want a link for an online shop to see it working live.

New member

Posts

Joined
Mon May 24, 2021 1:46 am

Post by GWShop » Sat Jul 31, 2021 6:28 pm

I clicked the option "Add Facebook Messenger Chat" in my Facebook page.
So Facebook guided me and sent me a code:

=================================
<!-- Messenger Chat Plugin Code -->
<div id="fb-root"></div>

<!-- Your Chat Plugin code -->

etc. etc. etc.
</script>

=================================

Anyone knows how can I add it?

Thank you.

New member

Posts

Joined
Mon May 24, 2021 1:46 am

Post by GWShop » Sun Aug 01, 2021 9:00 pm

Hello.

Can someone help here?

New member

Posts

Joined
Mon May 24, 2021 1:46 am

Post by straightlight » Sun Aug 01, 2021 9:08 pm

GWShop wrote:
Sun Aug 01, 2021 9:00 pm
Hello.

Can someone help here?
All we see on your code above is the bunch of etc. If you want to keep your codes hidden that much, you could simply create a new service request in the Commercial Support section of the forum to have this issue solved as a custom job.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by GWShop » Sun Nov 07, 2021 6:28 am

You mean that I can request something here?
viewforum.php?f=123

New member

Posts

Joined
Mon May 24, 2021 1:46 am

Post by Cue4cheap » Sun Nov 07, 2021 10:30 am

GWShop wrote:
Sun Nov 07, 2021 6:28 am
You mean that I can request something here?
viewforum.php?f=123
Here: viewforum.php?f=88

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by xxvirusxx » Sun Nov 07, 2021 3:20 pm

Go to Settings from your facebook Page--> Messages and here you have option to customize Facebook Chat, generate script...then add to you website

Code: Select all

<!-- Messenger Plugin chat Code here-->
    <div id="fb-root"></div>

    <!-- Your Plugin chat code here -->
    <div id="fb-customer-chat" class="fb-customerchat">
    </div>

    <script>
      var chatbox = document.getElementById('fb-customer-chat');
      chatbox.setAttribute("page_id", "your_page_ID");
      chatbox.setAttribute("attribution", "biz_inbox");

      window.fbAsyncInit = function() {
        FB.init({
          xfbml            : true,
          version          : 'v12.0'
        });
      };

      (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));
    </script>
    
Replace your_page_ID with your real page ID.

https://www.facebook.com/business/help/1524587524402327

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by richardstock1 » Wed Dec 15, 2021 7:51 pm

I think the OP is asking where/what file he should he paste the generated facebook chat code..

I am also looking to get this working.

Initally I made a HTML content module and put the generated code in. There I could decide what pages I wanted the chat window and what pages didnt require it using the layout manager. It worked fine for a while then suddenly stopped working, not sure why...

When it worked it was great, my sales went up.. so would be nice to have it working again, not sure why its not.

Newbie

Posts

Joined
Mon Jul 06, 2015 5:33 am
Who is online

Users browsing this forum: Bing [Bot] and 45 guests