Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Sune Kjærgård 3 posts 23 karma points
    Sep 19, 2012 @ 11:16
    Sune Kjærgård
    0

    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?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 24, 2012 @ 09:38
    Søren Spelling Lund
    0

    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.

  • Sune Kjærgård 3 posts 23 karma points
    Sep 24, 2012 @ 10:30
    Sune Kjærgård
    0

    Thank you Søren, thats exactly what I need!

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 24, 2012 @ 10:36
    Søren Spelling Lund
    1

    Awesome!

Please Sign in or register to post replies

Write your reply to:

Draft