Copied to clipboard

Flag this post as spam?

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


  • Mite Tashev 11 posts 81 karma points
    Apr 24, 2016 @ 21:11
    Mite Tashev
    0

    Get custom extended property from a product variant

    I created a custom extended property called Credit attached to a product variant. Each variant has a different value for Credit.

    My problem is that I don't know how to read the value of the Credit for the variant that is currently in my Basket. It looks like you can easily read the variant properties that come by default with Merchello (Barcode, Price, SKU, Download etc) but I can't find a way to read the value o my custom property.

    Can someone show me a line of code that shows how to read this property?

    Thank you

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Apr 25, 2016 @ 14:27
    Rusty Swayne
    0

    Hi Mite,

    Can you post your code you are using to add the item to the basket? The Credit value should be in the ILineItem ExtendedDataCollection

Please Sign in or register to post replies

Write your reply to:

Draft