Connecting SEO2GEO to OpenCart
Considerations for adding external scripts to OpenCart 3.x and 4.x, working with Twig, themes and product attributes.

In OpenCart, the appearance of product pages depends on the CMS version, installed theme and extensions. SEO2GEO works with the public storefront, so the service does not require direct access to catalogue tables. The page structure must nevertheless allow the required data to be extracted.
1. Identify your version and theme
Before making changes, identify the OpenCart version, active theme, modifications and SEO extensions in use. Back up the files to be changed. If the store uses multiple storefronts, check which domain the scripts were issued for.
2. Add the code
In OpenCart 3.x, default templates are usually located in catalog/view/theme/default/template/, and in OpenCart 4.x in catalog/view/template/. Third-party themes may use a different location. In both cases, work with the templates actually in use rather than blindly replacing default theme files.
| Element | Purpose |
|---|---|
common/header.twig | Possible location for the main script inside head. |
common/footer.twig | Possible location for visual blocks before the closing body tag. |
product/product.twig | Source of information about product page structure; usually no modification is needed for basic integration. |
Use the exact code from your account for the connected domain. It may be added via a compatible extension or theme mechanism, provided the placement requirements are met. After changing templates, refresh theme and modification caches where necessary.
3. Configuring data sources
SEO2GEO specialists identify page elements containing the name, model, price, availability, images, specifications and relationships with other products. Configuration accounts for the selected plan and differences between default and custom themes.
OpenCart options may change price or availability, but do not always correspond to independent variants with their own SKU. Each combination of options must not automatically be treated as a separate product with an invented identifier.
4. Check several scenarios
- Regular and sale prices, including decimal separator formatting.
- Products in stock, out-of-stock products and ordering with zero stock if permitted.
- Selecting options that change the price.
- Attribute tables, reviews, similar products and accessories, where present.
- All languages, currencies and storefronts in use.
Compare the results with the information visible to customers. If an SEO module is installed, check whether different generators describe the same product with conflicting prices. See: JSON-LD validation.
Moving to another OpenCart version or changing the theme may require reconfiguration. The terms are described on the professional installation page.
Documentation
Related articles

Comparing structured data in WooCommerce, Shopify, OpenCart and PrestaShop
A comparison of the four platforms' approaches to product markup, extending Schema.org and controlling data quality.

How to connect SEO2GEO to your online store
How to connect the service: choosing a plan, adding the script and professional configuration of automation.

How to check structured data on a product page
Practical JSON-LD checks: choosing test products, Schema Markup Validator, Google Rich Results Test and comparing data with the catalogue.

Product — structured product data
How to describe products using Schema.org: name, image, brand, identifiers and links to commercial offers.

PropertyValue and additionalProperty — product attributes
How to convert catalogue attributes into name–value pairs while preserving units, language and the accuracy of the original information.

When professional installation and reconfiguration are needed
How adding the script differs from configuring automation, how to add the service to a subscription and when it may be needed again.