Developer forum

Forum » Ecommerce - Standard features » Website showing wrong Ecom shop

Website showing wrong Ecom shop

Gaetan Caro
Reply

Hello,

I have something weird going on. On my solution I have one website (Website A), and one shop (Shop A). I created a new shop (Shop B), then copied website A to a new one called Website B, and had Web site B point to Shop B via the website's Ecommerce settings. However, Website B is still showing the Ecom content of Shop A (both groups and products). Shop A and B have different groups and products

I have tried :

  • See if the navigation points to any specific group (it doesn't)
  • See if any paragraph points to any specific group (nope)
  • Update the Repository and search index (didn't do anything)
  • Log out, restart IIS (nothing either)

What other thing should I check that could explain this behaviour ?


Replies

 
Nicolai Pedersen
Reply

Hi Gaetan

You cannot have a navigation that does not point to a specific shop/group - same goes for the paragraph (unless you use indexing - then you need to setup the query to take shop into consideration). So that is where your error must be...

 
Gaetan Caro
Reply

Sorry I got a bit mixed up in my description. The navigation on each page doesn't have anything special configured. I assume that for the ecom then it just takes the shop configured in the "ecommerce" settings on the website ?

If I have a product module on a page it is set to "index", since I do use indexing.

 

Website A doesn't show anything from Shop B. Same for Website B.

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Gaetan

If you have groups in your navigation, you have a page with something setup.

The index will return all products - if you need to limit to the shop in the context, you have to add that as a parameter.

If this does not clarify, I would like a link or at least some screen dumps to see what you do.

Capture.PNG
Votes for this answer: 1
 
Gaëtan
Reply

Ok I managed to solve it. On the page navigation I had nothing at all selected, but by looking in the database (Page table) I see that it was actually taking navigation data from SHOP A. I simply changed that to SHOP B, and after the cache had updated it was fine.

 

You must be logged in to post in the forum