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.
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.
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.
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.
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.
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?
@displayName works, but I'd rather not have create one for every variant
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.
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.
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.
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.
is working on a reply...