Update JSON-LD Structured Data in SuiteCommerce

Update JSON-LD structured data in SuiteCommerce after modifying views to ensure consistent product information in search results.

·2 min read·1 views·View Oracle Docs

To maintain the integrity of your SuiteCommerce web store's structured data, it's crucial to ensure that the JSON-LD markup reflects any changes made to product views. If you've updated your views by adding or deleting information, consider using the modifyViewJsonLd() method from the Visual component in the extensibility API to refresh your JSON-LD data accordingly.

Why Update JSON-LD?

Structured data assists major search engines in better understanding the content on your pages. The JSON-LD formatted data embedded within the <head> tag of product detail pages helps improve the visibility of your products in search results.

How to Update JSON-LD

When changes are made to a view in SuiteCommerce, you should:

  1. Utilize the modifyViewJsonLd() method effectively to ensure your JSON-LD is aligned with the view modifications.
  2. When extending or modifying how data is displayed, ensure that your JSON-LD matches the current product details to avoid discrepancies.

For full details about the method, refer to the Extensibility API reference provided by SuiteCommerce.

Initial Setup:

Before utilizing JSON-LD markup, ensure that your SuiteCommerce is configured to use this format. Here’s how you can do that:

  1. In NetSuite, navigate to Commerce > Websites > Configuration.
  2. Select your desired website and domain, then click Configure.
  3. Access the Shopping Catalog tab and go to the Structured Data Markup subtab.
  4. Choose JSON-LD as your Markup Type or select No Markup if you prefer to disable it.
  5. Adjust the Out of Stock Behavior as necessary for your inventory management needs. Options include InStock and PreOrder based on your backorder policies.

By closely aligning your structured data with active views, you can greatly enhance your store's SEO performance.

Frequently Asked Questions (4)

How can I update JSON-LD in SuiteCommerce after modifying product views?
After modifying product views, use the `modifyViewJsonLd()` method from the Visual component in the extensibility API to refresh your JSON-LD data, ensuring it reflects the changes made.
Is JSON-LD structured data applicable to all SuiteCommerce websites?
To use JSON-LD structured data, you must ensure your SuiteCommerce site is configured for it by selecting it as the Markup Type under the Structured Data Markup subtab in the website configuration.
What happens if my JSON-LD does not match the updated product details?
If your JSON-LD does not match the updated product details, it may lead to discrepancies that can affect how search engines understand and display your product information, potentially impacting SEO.
Do I have to enable any specific settings in NetSuite to use JSON-LD?
Yes, in the NetSuite Commerce configuration, you must navigate to the Shopping Catalog tab and select JSON-LD as your Markup Type under the Structured Data Markup subtab to enable its use.
Source: Update JSON-LD After Adding or Modifying Views Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →