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.

  • Tony Kiernan 278 posts 341 karma points
    Jun 10, 2011 @ 12:02
    Tony Kiernan
    0

    Variant @name?

    Using the example store as a base, I'm getting the dropdown for my variants and it's picking up the @variantSku hapilly enough.  But the actual @name is just coming out blank.

    Any ideas?

  • Tony Kiernan 278 posts 341 karma points
    Jun 10, 2011 @ 12:06
    Tony Kiernan
    0

    @displayName works, but I'd rather not have create one for every variant

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 10, 2011 @ 14:11
    Søren Spelling Lund
    0

    Hi Tony,

    At the moment you have to use the display name due to a small bug in uCommerce. The intention was to fall back to the name property, but the bug is preventing this from happening. I'll make sure and fix this. 

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 10, 2011 @ 14:12
    Søren Spelling Lund
    0

    BTW: displayName should contain one of two values: If a display name is set then it will have that value, if not it should have the name value in the displayName attribute.

  • Tony Kiernan 278 posts 341 karma points
    Jun 10, 2011 @ 16:25
    Tony Kiernan
    0

    Will get to it. 

    BTW, am I misunderstanding the difference between the name and displayName?  I assumed the latter was the one the would be front facing outpute (titles, headers etc) and the name was what would be used to identify the item or node.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 14, 2011 @ 13:00
    Søren Spelling Lund
    0

    You're absolutely correct "displayName" is for the actual name you want the customer to see. uCommerce uses a fallback mechanism in case the displayName is not present and uses the name instead.

Please Sign in or register to post replies

Write your reply to:

Draft