Copied to clipboard

Flag this post as spam?

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


  • Henri Toivonen 77 posts 111 karma points
    Jan 24, 2014 @ 15:43
    Henri Toivonen
    0

    Media as products

    Hello,

    would it be possible to use media nodes as products. We are developing a webshop for photos so this would very much make sense in this scenario.

    I've tried it but can't get past a "The model doesn't have a store id associated with it" error. I've tried putting a store picker on the content node for the current page, on the media item, on the folder containing the media item, but to no avail.

    Maybe this isn't possible right now?

  • Anders Burla 2560 posts 8256 karma points
    Jan 27, 2014 @ 13:21
    Anders Burla
    100

    Hi Henri

    You can't use Media nodes out of the box so you need to have a umbraco content node which acts as the product.

    OR you could write a custom IProductInformationExtractor and and then get Media items from Umbraco and then return the data.
    http://documentation.teacommerce.net/net-api/product-information-extractor/

    Kind regards
    Anders

  • Henri Toivonen 77 posts 111 karma points
    Jan 27, 2014 @ 14:44
    Henri Toivonen
    0

    It was quite easy doing a IProductInformationExtractor for media items. Thanks!

  • Anders Burla 2560 posts 8256 karma points
    Jan 27, 2014 @ 14:50
    Anders Burla
    0

    Your welcome. If you want to share it with the rest of the Umbraco community, I think they would be more than happy

Please Sign in or register to post replies

Write your reply to:

Draft