OneEntry Platform 2.0.1 Help

Related products

Cross-Selling helps to flexibly adjust the connection between products. This will help to quickly find similar items.

Kotlin Multiplatform

Knowing the product, you will easily find recommended items to go with it.

val product: Product = //... val result = CatalogService.related( id = product.id, offset = 0, limit = 30, templateMarker = null, statusMarker = null, sortKey = null, sortOrder = SortOrder.DESC, langCode = "en_US" ) val relatedProducts = result.items

Swift

Knowing the product, you will easily find recommended items to go with it.

let product: Product = //... let result = try await CatalogService.related( id: product.id, offset: 0, limit: 30, templateMarker: nil, statusMarker: nil, sortKey: nil, sortOrder: .desc, langCode: "en_US" ) let relatedProducts = result.items()
Last modified: 18 February 2025