You may notice shortcodes and other template cusotmizations from your main site theme do not load on Social Commerce pages.
This is normal. The point of Social Commerce is to replace your main site pages with Facebook-compatible templates that work with its iframe and security requirements. When Social Commerce is displayed, your main theme is not active, therefore none of its functionality or styling is being used.
For pages that are not core WooCommerce pages (Shop cart or checkout) you can create an alternative page to link to from the Social Commerce sidebar which does not use theme shortcodes/widgets or builder elements.
For issues with the Cart, Checkout or main shop page displaying code, you can disable the output of all shortcodes from within Social Commerce if you need to:
- Go to >
- Select Obox Social Commerce in the drop-down. This will display the main plugin functions file.
- Scroll to the bottom of the editor window and hit enter twice at the end of the code to make a new blank line
- Copy and Paste the Examples code from this document (we recommend reading the article to understand what it does)
- If that does not work, your theme author will need to help you write a custom function that filters or removes the code when Social Commerce is run. They can avoid these conflicts in the future by wrapping custom hooks in a condition that checks to ensure their theme is the active theme.