PHP Warning

Message

Invalid argument supplied for foreach()

Error at

app/functions/fn.common.php, line: 8707

Backtrace

File:app/functions/fn.common.php
Line:8707
Function:{closure}
File:app/functions/smarty_plugins/block.styles.php
Line:254
Function:fn_sort_by_ids
File:app/functions/smarty_plugins/block.styles.php
Line:96
Function:fn_get_preload_font_resources
File:app/Tygh/Registry.php
Line:800
Function:{closure}
File:app/functions/smarty_plugins/block.styles.php
Line:98
Function:getOrSetCache
File:var/cache/templates/vivashop/4000435e32c408c8999c80be353652cb2de721b6_2.tygh.styles.tpl.php
Line:155
Function:smarty_block_styles
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_64b818b25d6774_61453510
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:385
Function:render
File:var/cache/templates/vivashop/b446236750afcb41f7e01f0f5568e3d30f686de6_2.tygh.index.tpl.php
Line:87
Function:_subTemplateRender
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php
Line:123
Function:content_64b818b25795a4_66221531
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php
Line:114
Function:getRenderedTemplateCode
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:216
Function:render
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:238
Function:render
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:116
Function:_execute
File:app/Tygh/SmartyEngine/Core.php
Line:81
Function:fetch
File:app/functions/fn.control.php
Line:632
Function:fetch
File:index.php
Line:25
Function:fn_dispatch

Embed Merchiun into a custom website

Admin Admin
06/13/2026

Note: Make sure your site allows you to embed external JavaScript code. If you are using a site generator service, this may not be allowed.

  1. Log in to your Merchium admin panel and go to Design → Layouts.


  1. Switch Layout to Widget.
  2. Select and copy the content of the Widget code box.
  3. Paste the code into your page’s source code and save the changes. Here is how your page may look like with your store code.

    And you are done! Here’s how your store will look on your page.