Tagged: multi site
July 24, 2011 at 6:54 am #3873
Please note: I will be more than happy to pay for this to work!
I would like to use your wonderful ecommerce system on a MultiSite install of WP. It works beautifully with one exception: If I have 2 shops on the same site (domain.com/shop1/ and domain.com/shop2) and want to keep them individual, I can’t because the cookie puts shopping cart items from ‘shop1’ together with shopping cart items from shop2.
That is the ONLY thing that prevents having 2 separate shops on one site.
Is there a way of separating the 2 shops?
Here’s my situation:
Client sells 2 completely different ranges of products, roofing and window blinds. When someone goes to the window blinds shop (shop1), adds a blind to their shopping cart, doesn’t checkout yet. Then visits the roofing products shop (shop2) and adds a product. When they view the shopping cart they will see the blinds in there along with the roofing products.
For most people this would be fine but there are so many differences between the 2 parts of the business that they insist on keeping the 2 shops completely independent of each other, but on the same domain. This is why I installed WordPress MultiSite for them.
So, can the Plugin be tweaked to ensure the 2 shop cookies are independent of each other?
MartinJuly 24, 2011 at 7:25 am #34626
I think it is a simple case of including
. $blog_id . (which is the identifier of the site in MultiSite)
in the cookie ID and/or any reference to the cookie.
I’d happily place it in myself if you could tell me where it would need to be placed.
MartinJuly 25, 2011 at 4:35 am #34627
I was looking at the cart code and wondering the same thing. I did a bit of research about ‘clearing the cookie on exiting a site’ but since the 2 shops are, essentially, on the same site, that wouldn’t work.
So your idea is better. If the user goes from domain.com/shop1 to domain.com/shop2 (or vice versa) then the cookie (cart) would be reset.
That little change would make your plugin THE BEST for MultiSite as well as already being the best for single sites.
Believe me, I have tried them all. Free ones and all the paid ones. I keep coming back to WP eStore! I love it.
Thanks for understanding my question and seeing the potential of the change.
MartinJuly 26, 2011 at 3:55 am #34629
Okay, I added some condition in the plugin that should cater for this on a multi site install. Please get a new build of the eStore plugin from here and test it out:July 28, 2011 at 6:31 pm #34630
Well that has certainly worked to prevent shopping cart items from carrying through from one shop to another. Excellent work!
Slight issue: We use https consistently and I added images and links to the product using https and got this error:
The URL specified in the “Thumbnail Image URL” field does not seem to be a valid URL! Please check this value again:
The URL specified in the “Product Page URL” field does not seem to be a valid URL! Please check this value again:
It works even though the error appears after the product is added or updated.
Thanks for your work.
MartinJuly 29, 2011 at 1:34 am #34631
If you know for sure that the URL is correct then simply ignore this message (this message is only shown to the admin)
- You must be logged in to reply to this topic.