Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/dobhr/mve.dob.hr/app/functions/fn.order_management.php on line 331
Blog :: Embed Merchium into a custom website

PHP Deprecated

Message

Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`

Error at

app/schemas/block_manager/blocks.functions.php, line: 374

Backtrace

File:app/schemas/block_manager/blocks.php
Line:19
Function:{closure}
File:app/schemas/block_manager/blocks.php
Line:19
Function:require_once
File:app/functions/fn.common.php
Line:2359
Function:include
File:app/Tygh/BlockManager/SchemesManager.php
Line:396
Function:fn_get_schema
File:app/Tygh/BlockManager/SchemesManager.php
Line:128
Function:_getScheme
File:app/Tygh/BlockManager/RenderManager.php
Line:452
Function:getBlockScheme
File:app/Tygh/BlockManager/RenderManager.php
Line:401
Function:isBlockEligibleForCurrentLocation
File:app/Tygh/BlockManager/RenderManager.php
Line:364
Function:renderBlocks
File:app/Tygh/BlockManager/RenderManager.php
Line:229
Function:renderGrid
File:app/Tygh/BlockManager/RenderManager.php
Line:199
Function:renderGrids
File:app/Tygh/BlockManager/RenderManager.php
Line:163
Function:_renderContainer
File:app/functions/smarty_plugins/function.render_location.php
Line:52
Function:render
File:var/cache/templates/bright_theme/5b5f39ec120c2072297b464ddafc0dace1849635.tygh.index.tpl.php
Line:183
Function:smarty_function_render_location
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:188
Function:content_5ef64eb2e965a1_65042828
File:app/Tygh/SmartyEngine/Core.php
Line:76
Function:fetch
File:app/functions/fn.control.php
Line:595
Function:fetch
File:index.php
Line:25
Function:fn_dispatch

Embed Merchium into a custom website

11/09/2014
by Boris Pejić

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.