As I understand it the product catalog information is carried around on the site using querystring and the default UCommerce url scheme.
This poses a problem when I want to extend the basket with product images and links to the product pages etc. or in other words when I want to show more information about the product, than the orderline exposes.
So how do I go about getting Product information in the basket, when I might have products from multiple catalogs, and?
The xslt library only exposes GetProduct(Catalogname, sku), but i don't see a way of knowing which catalog the current orderline belongs to.
Am I missing something obvious or do I have to create some custom hack to be able to do this?
UCommerce basket and catalog context
Hi Guys
As I understand it the product catalog information is carried around on the site using querystring and the default UCommerce url scheme.
This poses a problem when I want to extend the basket with product images and links to the product pages etc. or in other words when I want to show more information about the product, than the orderline exposes.
So how do I go about getting Product information in the basket, when I might have products from multiple catalogs, and?
The xslt library only exposes GetProduct(Catalogname, sku), but i don't see a way of knowing which catalog the current orderline belongs to.
Am I missing something obvious or do I have to create some custom hack to be able to do this?
Hi Sune,
You can solve this a couple of different ways; both of which involve adding dynamic order properties to your order lines.
1) The simplest would be to copy image and product URLs to your order line to avoid having to refer back.
2) Alternatively you can store catalog information on the order line, which enables you to reload the product.
The article Dynamic Order Properties: Adding Custom Information to Baskets, Orders, and Order Lines tells you everything you need to know to add more info to your order lines.
Thank you Søren, thats exactly what I need!
Awesome!
is working on a reply...