Knowledge Base

Welcome to the SmarterCommerce documentation portal

What can we help you find?

SMARTERCOMMERCE

Search and Learn about Unified Commerce and Our SmarterCommerce Solutions
Digital Commerce Additional Manual

Marketing Code Integration


Include the plugin reference as follows.

<script src="http://www.yourwebstore.com/ResourcePackages/Bootstrap4/MVC/Scripts/sc-jquery.marketingcode.js" type="text/javascript"></script>

Use the HTML element ID scj-marketing-code, and configure the parameters using the HTML data attribute.

Function Parameter
HTML Attribute*
Description
Marketing Codedata-marketing-code

Promotion Code to be applied.

Is buttondata-is-button

Set to true if want to display a button or false if want to display a link.

Values: true/false

Default: true
Is external pagedata-is-external-page

If plugin is added on external page for security, it is required to be true.

Values: true/false

Default: false


Component Textdata-component-text

Text that will be displayed on the component (button or link).

Default: Apply
Message after applied marketing codedata-applied-message

Message to display after marketing code is applied

If redirect URL is configured this message will not be displayed so it is not required to configure.

Default: Applied at checkout.
Redirect URL after applied marketing codedata-redirect-urlURL to redirect after marketing code is applied. If it is not configured it stays in the same page and display a message.

Bring It All Together

We bring together digital commerce, retail and call center channels with a united approach that leverages the power of onmi-channel while prioritizing JD Edwards connectivity.

CONNECT WITH AN EXPERT