Copied to clipboard

Flag this post as spam?

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


  • MOthman 27 posts 89 karma points
    May 15, 2017 @ 20:14
    MOthman
    0

    Merchello Cross Domain

    Is it possible to use Merchello ecommerce across multiple domains? I have a few sites hosted under one Umbraco CMS each site has its own domain name but all share the same umbraco DB.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    May 17, 2017 @ 02:39
    Rusty Swayne
    0

    In this case Merchello would be available to all domains - but each domain would essentially be the same store ...

    Multi-store is a V3 todo

  • MOthman 27 posts 89 karma points
    May 17, 2017 @ 07:43
    MOthman
    0

    Thanks Rusty.

    The customer is happy to have all products under one store, but for their marketing purposes they want to list products under relevant website domain.

    For example: Under umbraco I have website1, website2 and website3. And in Merchello I have products 1 & 2 (used for website1), 3,4,5 & 6 (used for website2).

    I want users to be able to buy from any of the three websites and checkout all added products from any of these websites too. For instance, a user browses website1 and add products 1 and 2, then browse website2 and add products 3 and 4, and finally the user browse website3 and checkout all added products from there.

    Is this scenario possible? Do I need to globalize anything (i.e. cookie, session, etc.) in order for Merchello to keep track of all added products in all websites?

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    May 17, 2017 @ 13:34
    Rusty Swayne
    0

    That will work - but disclaimer =)

    I've never tested what would happen in that scenario (like with a single basket shared across all three sites) - and you may need to tweak around with the CustomerContext (which manages the cookie) as you mentioned.

    You'll have to watch the anonymous customer creation. i.e. Does Merchello create a new anonymous customer for each site when the domain is changed.

  • MOthman 27 posts 89 karma points
    May 23, 2017 @ 10:36
    MOthman
    0

    Thanks Rusty for your reply. For now, I ran two domains (s1.d.com and d.com) and noticed the cart is using d.com/basket url for both sites but, unfortunately, not showing only products added from d.com and not from s1.d.com.

    Do you have any idea why? I will continue the development and will update you if I find a solution first.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    May 24, 2017 @ 14:01
    Rusty Swayne
    0

    I'm guessing you have two anonymous customers. Take a look at the merchItemCache and merchItemCacheItem tables and watch for changes noting the "entityKey" (which is either the customerKey or the anonymousCustomer Key) ... see if they are different.

Please Sign in or register to post replies

Write your reply to:

Draft