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.

  • Thomas 13 posts 43 karma points
    Dec 18, 2012 @ 16:20
    Thomas
    0

    Setting a product DisplayName

    Hi,

    I'm creating a seperate module to add products to uCommerce. I have got this working mostly but I can't seem to be able to add a DisplayName. From the documentation I found the DisplayName is added through a description which I add in the following way:

                var description = new ProductDescription
                                      {
                                          Product = product,
                                          CultureCode = "en-GB",
                                          // or en-GB, da-DK etc.
                                          DisplayName = txtName.Text,
                                          ShortDescription = txtShortDescription.Text,
                                          LongDescription = txtLongDescription.Text
                                      };
                description.Save();

    And a value actually goes in there, it gets saved but in the umbraco back-end the displayname is not displayed:

    (The display names that are filled in are hand made)

    Any ideas?

    Thank you,
    Thomas

  • Thomas 13 posts 43 karma points
    Dec 19, 2012 @ 12:39
    Thomas
    0

    I just noticed there isn't a way to change the Display Name in the back-end. Is there really no way to do this?

Please Sign in or register to post replies

Write your reply to:

Draft