E-com DevBlog Spider-ball-vacuum

25Jan/080

Item Upsells

Lately I've been sentenced to create upsell displays on the shopping carts of both NordicTrack.com and ProForm.com. I wish I could say I now know how I did this but the truth is I don't really. For NordicTrack it was a bit trickier because we had to create upsells for apparel (which requires the user to select a size and color) as well as for iFIT cards (which require the user to select a level). Basically what we did (and by we I mean Jason) is checked the Items Root category to see if it was an Apparel Item or a "Personal Training" item, if so the jsp would include another page which was determined by the root category. once we had established that the item was either Apparel or Personal Training we loaded the 'defining attributes' which are essentially the sizes, colors and/or levels of the actual product. Keep in mind that there were separate pages included for iFIT and Apparel (that is to say the extra page was different for iFIT than it was for Apparel). Once this was done it became a simple matter of validation and adding to the cart both of which were done using javascript.

The ProForm site was quite a bit easier since for one it didn't have any apparel or iFIT cards, and the second reason it was so easy is because it was already mostly coded -- just needed a few tweaks to get it running. Actually I think the ProForm site was coded quite a bit better than NordicTrack.

the files needed in both scenarios are:

NordicTrack: (OrderItemDisplay.jsp, ICONeMarketingSpotDisplay.jsp, ICONCatalogEntryThumbnailDisplay.jspf, *SizeColorSelector.jspf, *IFITLevelSelector.jspf )

* New File

ProForm: (OrderItemDisplay.jsp, ICONeMarketingSpotDisplay.jsp, ICONCatalogEntryThumbnailDisplay.jspf)

Print This Post Print This Post