Pages

Thursday, February 10, 2011

Creating a coremetrics Shopping Cart View in websphere commerce

This tag is included in your shopping cart to track customers coming on the cart page. The function to be used is cmCreateShopAction5Tag. This tag will be looped for as many numbers of items in the cart. The following are the parameters to be passed to this tag

productId – This is the productId (either the SKU ID or the catentry ID). Please ensure that the productID should be the same as selected in cmCreateProductViewTag(),  otherwise the metrics will be skewed.

Name  - this is the name of the product. Again ensure that the name here matches with the one in the cmCreateProductViewTag().

Quantity – specifies the number of item ordered

Price – this is the unit price of the specified item.

Currency – self explanatory.

Category – This is the category Id to which the product belongs to. In some cases where other systems are used for navigation, like endeca, the category id on product detail may not match the wcs category id. In such cases, setting the category id to null will inherit the category from the previous product view tag.

1 comment:

  1. Great work dude, u gave nice post to us. Thanks for spending the time to discuss this, I feel strongly about it and love learning more on this topic.

    ecommerce shopping carts

    ReplyDelete