Shoppica OpenCart – Facebook Widget Patch

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeShoppica OpenCart – Facebook Widget Patch

This topic has been marked as not resolved.


For everybody experiencing problems with the Facebook widget, here is a brief explanation of the situation.

In order to have a styled widget, Shoppica have used an old version of the Facebook Like Box – the Facebook Fanbox code. This old version allowed external styles to be applied to the widget elements.

Unfortunately, everything ended a few weeks ago. Facebook started to serve their new code that doesn’t allow external resources to be loaded and that is why the like box lost its “sexy look”. A little bit after this dramatic change (1-2 weeks), the old code and styling started to work again. This time however, the like button didn’t seem to work.

That is why we decided to add an option to choose between the two widget styles: fanbox (with Shoppica styling in case it still works) and likebox (default Facebook widget style).

The new widget is already available with the latest Shoppica, which you can download from your ThemeForest account. We have also attached a patch for those that cannot fully upgrade their theme.

Before uploading the files from the patch, be sure to compare the included screen.css.php (screen.css for Shoppica 1) with yours, in case you have modified it before.

ThemeBurn team

February 8, 2013 at 6:23 pm #18397

How to install this into wordpress theme ?

February 12, 2013 at 3:55 pm #18678

With this being posted in the wordpress section, is there a way to incorporate this patch into the wordpress version, or will a different patch come out to fix all the facebook silliness?

February 13, 2013 at 10:33 pm #18739

An update for the WordPress version will be soon available.

ThemeBurn team

February 15, 2013 at 11:11 am #18842


I have noticed that the Like button works when not logged into facebook, but then it stops working when I am. Could this be a hint to finding a solution to this problem? Surely, if it can be shown it works in this way, the phenomenon can be replicated and applied to the code so that it works when logged in.

Just a suggestion.

Hope you can find a permanent solution.


  • This reply was modified 1919 days ago by  durg1.
February 17, 2013 at 10:22 am #18937


If we find a solution, we will surely post the updated patch here.

ThemeBurn team

February 20, 2013 at 11:42 am #19071

Since I updated to 2.2.2, last week, I get this error message in my OC

PHP Notice: Undefined index: facebook_column_title in /home5/***/public_html/store/catalog/view/theme/shoppica2/template/common/footer.tpl on line 93
2013-02-23 20:49:19 – PHP Notice: Undefined index: facebook_widget_type in /home5/***/public_html/store/catalog/view/theme/shoppica2/template/common/footer.tpl on line 94
2013-02-23 20:49:19 – PHP Notice: Undefined index: facebook_bg_color in /home5/***/public_html/store/catalog/view/theme/shoppica2/template/common/footer.tpl on line 103
2013-02-23 20:49:19 – PHP Notice: Undefined index: facebook_border_color in /home5/***/public_html/store/catalog/view/theme/shoppica2/template/common/footer.tpl on line 103
2013-02-23 20:49:19 – PHP Notice: Undefined index: facebook_url in /home5/***/public_html/store/catalog/view/theme/shoppica2/template/common/footer.tpl on line 104
2013-02-23 20:49:19 – PHP Notice: Undefined index: facebook_width in /home5/***/public_html/store/catalog/view/theme/shoppica2/template/common/footer.tpl on line 104
2013-02-23 20:49:19 – PHP Notice: Undefined index: facebook_height in /home5/***/public_html/store/catalog/view/theme/shoppica2/template/common/footer.tpl on line 104

It builds up a huge log file in my server and I don’t know how to stop it.

February 25, 2013 at 8:44 pm #19435


I updated the patch recently and everything was running smooth. Looks like Facebook changed their code again? I dont get the shoppica fan box anymore but the original FB box.

If i switch to the like box in the module. The themeburn FB fans like box appears? Altough i use my own fb page id number or name…

Any idea

February 26, 2013 at 2:07 pm #19487

I can confirm that the FB Widget css doesn’t work anymore.

February 26, 2013 at 2:36 pm #19488


You should resave your theme settings.


Yes, the facebook fanbox has been changed again and for the moment you should stick to the like box. The like box will use the facebook page instead of ID.

ThemeBurn team

February 28, 2013 at 4:04 pm #19599

Re-saving was the first thing after upgrade to 2.2.2. Again after changing to “Like Box” I saved the setting.
It doesn’t fix the issue for me.

February 28, 2013 at 4:14 pm #19603

I dont know how but magically my FB fan box fixed it self over night, I guess its changes fB has made , but any how , it looks how it did when I first made my site :)
If anyones interested to view:

February 28, 2013 at 11:03 pm #19625

does anyone have a preview of the new patch with the ‘fancey’ style?

  • This reply was modified 1907 days ago by  s31teg.
March 1, 2013 at 6:48 pm #19659


Please, make a separate topic.

ThemeBurn team

March 4, 2013 at 12:02 pm #19737

Facebook widget is broken again – even on your own website. Please give us a fix!

  • This reply was modified 1852 days ago by  bloodyvlad.
April 25, 2013 at 10:44 am #22521
Viewing 15 posts - 1 through 15 (of 16 total)
  • The topic ‘Shoppica OpenCart – Facebook Widget Patch’ is closed to new replies.