PyzeCommerceCart

 PyzeCommerceCart : PyzeCuratedEvents

PyzeCommerceCart functions can be used to post details of the events related to Cart.

Since

v1.0.0

PyzeCommerceCart Methods

  • Post details of item added to the cart.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartAddedItem", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    itemCategory

    Item category identifier.

    itemId

    Item id details.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post detials of item added to cart from the deals.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    attributes["uniqueDealId"] =  uniqueDealIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartAddItemFromDeals", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    itemCategory

    Item category identifier.

    itemId

    Item id details.

    uniqueDealId

    Unique deal identifier.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of item added to cart from wish list.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    attributes["uniqueWishListId"] =  uniqueWishListIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartAddItemFromWishList", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    itemCategory

    Item category identifier.

    itemId

    Item id details.

    uniqueWishListId

    Unique wish list identifier.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of item added to cart from curated list.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    attributes["uniqueCuratedListId"] =  uniqueCuratedListIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartAddItemFromCuratedList", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    itemCategory

    Item category identifier.

    itemId

    Item id details.

    uniqueCuratedListId

    Unique curated list identifier.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of item added to cart from Recommendations.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    attributes["uniqueRecommendationId"] =  uniqueRecommendationIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartAddItemFromRecommendations", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    itemCategory

    Item category.

    itemId

    Item id detials.

    uniqueRecommendationId

    Unique recommendation identifier.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of item added to cart from Previous orders.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    attributes["previousOrderId"] =  previousOrderIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartAddItemFromPrevOrders", attributes, customAttributes);

    Parameters

    cartId

    Cart identifiers.

    itemCategory

    Item category identifier.

    itemId

    Item id details.

    previousOrderId

    Previous order identifier.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of item added to cart from search results.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    attributes["searchString"] =  searchStringValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartAddItemFromSearchResults", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    itemCategory

    Item category identifier.

    itemId

    Item id details.

    searchString

    Search string.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of item added to cart from subscription list.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    attributes["uniqueSubscriptionId"] =  uniqueSubscriptionIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartAddItemFromSubs", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    itemCategory

    Item category identifier.

    itemId

    Item id details.

    uniqueSubscriptionId

    Unique Subscription identifier.

    attributes

    Additional custom attributes app would like to share with server. Learn more about custom attributes.

  • Post details of the item removed from the Cart.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["itemCategory"] = itemCategoryValue;
    attributes["itemId"] =  itemIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartRemoveItem", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    itemCategory

    Item category identifier.

    itemId

    Item id details.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of view of items in cart.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartView", attributes, customAttributes);

    Parameters

    cartId

    Cart

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of the item shared from Cart.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["cartId"] = cartIdValue;
    attributes["sharedWith"] = sharedWithValue;
    attributes["itemId"] = itemIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("CartShare", attributes, customAttributes);

    Parameters

    cartId

    Cart identifier.

    sharedWith

    Shared with details FB/Twitter/G+ etc.

    itemId

    Item id details.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.