Releases: VirtoCommerce/vc-module-x-recommend
Releases · VirtoCommerce/vc-module-x-recommend
3.805.0
3.804.0
🎯 Development
- add bought-together recommendation (#7)
Min conversion events count (default 1000). Set to 0 for no limit:
Add conversion events types "placeOrder" or "addToCart":
mutation pushHistoricalEvent ($command: InputPushHistoricalEventType!) {
pushHistoricalEvent(command: $command)
}
{
"command": {
"storeId": "Electronics",
"productId": "6e7a31c35c814fb389dc2574aa142b63",
"sessionId": "12345",
"eventType": "placeOrder"
}
}
Use "sessionId" to group productId into distintct events (CustomerOrderId for placeOrder, CartId (or temp uniqueId since cartId is permanent) for "addToCart")
Query recommendations:
query {
recommendations(
storeId:"Electronics"
cultureName: "en-US"
model: "bought-together"
productId: "9cbd8f316e254a679ba34a900fccb076"
maxRecommendations: 5
currencyCode: "USD"
)
{
products
{
id
name
}
}
}