Skip to main content

6 docs tagged with "how-to"

View all tags

Check Which Version is Running

For debugging purposes, it can be useful to know what version a shop is running on. This can be checked directly on the shop itself.

Code Reviews

This document covers key concepts, guidelines, best practices, examples, tools, and troubleshooting related to reviewing pull requests. It aims to streamline code reviews and foster high-quality, maintainable code.

Custom Commands

We have a number of custom commands or functions that help the testing. Then include simulating ov visiting certain URLs, setting specific viewports, logging in or adding products to the basket. However, when running visual tests in Cypress, certain elements — such as images that load asynchronously or animated carousels — can cause false negatives due to slight variations in rendering time. To prevent these inconsistencies from affecting test results, we use custom Cypress commands to hide such elements before capturing snapshots.

JSON Schema

JSON Schema is a declarative language that provides a standardized way to describe and validate JSON data.

Page Variables

In eCommerce, page variables are essential for creating a dynamic and personalized shopping experience. These variables are defined and managed in the backend using Flask and rendered on the front-end using Jinja2.

Using a Page Theme in Front-end

Once a page theme has been defined in the CloudSuite Admin and applied in at least one page, it will be available in Front-end as the variable cms2.theme.