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.

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Sep 07, 2012 @ 11:06
    Dan Diplo
    0

    How to create multiple websites each with six languages sharing one catalogue?

    Hi. I have the following requirement for a uCommerce enterprise site:

     

    • 1 product catalogue shared across 4 different websites (within a single Umbraco instance)
    • Each of the 4 websites will need to support (at least) six different languages and currencies
    • Even where two languages have the same currency (ie. Euro) the pricing needs to be different for each
    I'm trying to investigate if this is possible in uCommerce and, if so, how it would be set-up. My initial experiments haven't got very far due to various errors I've encountered.
    What I've done so far:
    • Created a clean install of Umbraco 4.8.1
    • Installed uCommerce-2.6.1.0
    • Installed uCommerce-Store-1.2.0.0
    I then created the required languages in Umbraco settings. I found this didn't add new tabs to the existing store so needed to delete the existing catalogue and create a new one (which gave me the language tabs).
    I then created a site in IIS and added two host headers to it (as a start):
    • en-gb.ucommerce.preview.prododev.com
    • es.ucommerce.preview.prododev.com
    I then created two instances of the store in Umbraco and added these host headers to the root node of each one, like below:
    In uCommerce back-end I created two catalogues and assigned them to these host-headers:
    When I visit the en-gb store (http://en-gb.ucommerce.preview.prododev.com) it works as expected, in that I can browse the product catalogue. However, when I browse the es store (http://es.ucommerce.preview.prododev.com/) I get an XSLT error. If I look in the Umbraco log I see this exception:
    No product catalog group supporting the url "http://es.ucommerce.preview.prododev.com:80/" found.
    UCommerce.EntitiesV2.ProductCatalogGroup FindProductCatalogGroupForDomain()
       at UCommerce.Runtime.CatalogContext.FindProductCatalogGroupForDomain()
       at UCommerce.Runtime.CatalogContext.get_CurrentCatalogSet()
       at UCommerce.Xslt.CatalogLibrary.GetRootCategories(String catalogName, Boolean includeFullStructure)
       at UCommerce.Xslt.Library.<>c__DisplayClass6.b__5()
       at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)      
    I've also tried only having one store in the content tree and adding both host-headers to it, but that didn't work either. What is going wrong?
    Also, am I right in thinking that if there are 4 domains with 6 languages each this will entail creating 24 different stores and catalogs? (Each of the domains will need to support different content pages as well as the store, so website one will have 6 different home pages, one for each language, and 6 different "about" pages etc).
    In uCommerce I can see that you can assign products across catalogues, but it appears you can't do the same with categories. So if there were 24 catalogs, and each needed the same category structure, would this have to be duplicated across all catalogs?
    As you can see, this is potentially a large project and I need to be confident uCommerce can deal with this in a reasonable way (ie. out-of-the-box).
    Any advice appreciated :)

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 07, 2012 @ 11:53
    Søren Spelling Lund
    0

    Hi Dan,

    The reason your languages are not showing is due to missing permissions. If you go to Settings / Security / <your user> and tick off the languages in question you'll the configured language tabs.

    You don't have to create a new store/catalog per language. The uCommerce language layer adds in configured langauges on every level in the store so for multilanaguage scenarios you just need the one.

    Typically multiple stores and catalogs are employed when you want to have different sets of produts available for either different customer segments or markets like www.bogogide.dk, www.bogerogpapir.dk, and www.boghandleren.dk, which are all set up in the same install, but has different products available and different look and feel.

    If the products are going to be the same across all stores I'd probably go with a single store and catalog and create a custom IPricingService for overriding the currency based on a set of rules (maybe language?).

    For a one store set up with multiple content sites associated you can leave the hostname on "Default" in uCommerce and the store will be picked up for all content sites.

    Regarding the issue with finding the hostname I'd love to take a look at that and figure out what's going on there.

    You're welcome to give me a call at +45 61 799 997 so we can chat in more detail about the solution and maybe take a look at that hostname issue.

Please Sign in or register to post replies

Write your reply to:

Draft