...
Fonksiyon | Açıklama |
---|---|
| Ürün koduna göre filtreleme yapar |
| Ürün ismine göre filtreleme yapar |
| Ürün rengine göre filtreleme yapar |
| Ürün yaş grubuna göre filtreleme yapar |
| Ürün markasına göre filtreleme yapar |
| Ürün kategorisine göre filtreleme yapar |
| Ürün cinsiyetine göre filtreleme yapar |
| Ürün material kolonuna göre filtreleme yapar |
| Ürün attribute1 kolonuna göre filtreleme yapar |
| Ürün attribute2 kolonuna göre filtreleme yapar |
| Ürün attribute3 kolonuna göre filtreleme yapar |
| Ürün attribute4 kolonuna göre filtreleme yapar |
| Ürün attribute5 kolonuna göre filtreleme yapar |
| Ürünün aynı gün kargo kolonuna göre filtreler |
| Ürünün ücretsiz kargo durumuna göre filtreler |
| Ürün indirim durumuna göre filtreleme yapar |
...
Code Block | ||
---|---|---|
| ||
import {VisilabsApi, RecommendationAttribute, RecommendationFilterType} from 'react-native-related-digital' const visilabsApi = new VisilabsApi(appAlias, siteId, organizationId, dataSource) const getRecommendations = async () => { try { const zoneId = '6' const productCode = '' const properties = { "OM.cat":"65" // Category code } // optional const filters = [{ attribute: RecommendationAttribute.PRODUCTNAMEPRODUCTCODE, filterType: RecommendationFilterType.likeequals, value: 'laptop78979,21312,45345' }] const recommendations = await visilabsApi.getRecommendations(zoneId, productCode, properties, filters) // const recommendations = await visilabsApi.getRecommendations(zoneId, productCode, properties) console.log('recommendations', recommendations) } catch (e) { console.log('recommendations error', e) } } |
...