Skip to main content
Skip table of contents

Account Dashboard: Add a YouTube video to the bottom of your Account Dashboard

Purpose

To demonstrate how you can add a YouTube video to the bottom of your account dashboard using the Templates Editor.

Watch

More information

<add a sentence or two here>

Once you have saved your changes in WebShop, they are immediately visible in WebShop to your customers.

Key points

  • If you are comfortable with HTML, CSS, and variables, you’ll be in a good place to use this feature to achieve a personalized look and feel for your WebShop.

  • You are responsible for ensuring that the code you have written doesn’t adversely affect your WebShop.

Recipe

To add a YouTube video to the bottom of your Account Dashboard that is visible to your B2B customers,

  1. Open Templates in the Management Interface. This opens the Templates Editor.

  2. Navigate to Templates->Dashboard and select “dashboard-bottom.twig”. This opens the existing twig code under the EDITOR tab.

  3. Add the following code, which

    • Uses logic to determine if the account type is B2B,

    • Includes a link to a recent YouTube video about Experlogix Digital Commerce. Add the link to your YouTube video after the <a href=”Link to your YouTube video”> </a> HTML tags.

  4. Select Save to save your changes.

Twig code to add a promotion to the top of your account dashboard

{% if account.Type == 'B2B' %}

<div style="background-color: #ffffff; color: black; padding: 16px; border: 3px solid #d3377b;">

<h3>Discover Experlogix Digital Commerce</h3>

<p> Watch <a href="Link to your YouTube video" target="_blank" rel="noopener noreferrer">our video</a> for more information on how to Sell Smarter with the Experlogix Digital Commerce Platform for ERP Integrated e-commerce.</p>

</div>

{% endif %}

Remember

  • You may have to select Clear Cache (ClearCacheIcon.png) in the top menu of the Management Interface before your changes are visible.

  • Select the DOCUMENTATION tab to view what objects and variables you can manipulate.

  • Select the LAYOUT tab to see where your twig code is displayed in WebShop.

Related content

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.