Put it on NetSuite SuiteCommerce
Last updated
For a store on NetSuite SuiteCommerce or SuiteCommerce Advanced. The codes come from your admin, Install tab. Sending quote requests into NetSuite itself is a separate step: see quote requests into NetSuite.
Two ways
- A link or button on the product page, to your configurator’s address. Nothing to set up in NetSuite beyond adding the link. Opens the configurator full page, best for AR on phones.
- Inside the product page, with an HTML content block in Site Management Tools (below). Use the plain Inside your page code from your admin: it is one iframe and nothing else, which is the safest form for SuiteCommerce.
Inside the page: Site Management Tools
- Log in to Site Management Tools and turn on Edit Mode.
- Go to the product page, click Add, and drag HTML content onto an area of the page.
- Paste the Inside your page code and Save.
- Publish. Nothing shows on the live site until it is published.
Where it shows depends on the area you drop it on:
- a this page area: one product page only (usually what you want);
- a page type area: every page of that type, for example every product page;
- an all pages area: every page that has that area.
If there is no area in the right spot
The areas come from your store’s theme. If the product page has no area where the configurator should go, a SuiteCommerce developer (or your NetSuite partner) adds one to the theme’s product page template. After that, anyone with Site Management Tools access can place the block.
If HTML content is greyed out, the Core Content extension (from the “SMT Core Content Types” bundle) is not active on your site. Your NetSuite administrator can turn it on.
What not to use
- Use the HTML content block or a link, not an item record field (Detailed Description or a custom field). Those two ways are the ones Oracle documents for page content.
- The block takes code that belongs in the page body. Our code is body code, so this is only a note for your developer if they adapt it.
If it doesn’t show: security headers
Oracle’s documentation names no default setting that blocks an iframe like ours. But if your store adds its own security headers (in SuiteCommerce under Advanced → Security, “Add Headers to SSP Responses”) with a Content-Security-Policy, that policy must allow your configurator as a frame source: add the start of your configurator’s address, up to the first single slash, to frame-src. For example, for https://configure.example.com/sheds/ that is https://configure.example.com. Ask whoever set the headers, or test with a published block on one page first.