Developer forum

Forum » Ecommerce - Standard features » Product details page return 301

Product details page return 301

Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

I have a problem with some products on a localized site.

The setup is like this.

  • One installation
  • Two websites (Language A, Language B)
  • Two shops (Shop A, Shop B)
  • Two product catalogs based on index
    • Active <Equal> True
    • Group IDs <Match Any> GroupID (parameter)
    • Language ID <Equal> Dynamicweb.Ecommerce.Context:LanguageID

So, all the products show up correct in search and in all lists.
The problem looks like is connected to the the status on the products.

Scenario
Product A is disabled on Language A and active on Language B. The product is not displayed in the product list in Language A, but displayed in Language B.
So far so good, everything is working as it is supposed to do. The problem arrives when I try to click on the product to see the details on Product A in Langauge B.
The site then return a 301 on the product details page, and redirect to the product catalog front page.

So it looks like it is reading the product as disabled as it is disabled in Language A, but actually active in Language B. So it should really work.
Am I missing some settings somewhere?


Replies

 
Nicolai Pedersen
Reply

How is your ecommerce settings on the website properties?

 
Martin Grønbekk Moen
Martin Grønbekk Moen
Reply
  • Website A
    • Shop = Shop A
    • Language = Language A
    • Currency = Currency A
    • Country = Country A
    • Prices with VAT = None
    • Stock location = None
  • Website B
    • Shop = Shop B
    • Language = Language B
    • Currency = Currency B
    • Country = Country B
    • Prices with VAT = None
    • Stock location = None
 
Nicolai Pedersen
Reply
This post has been marked as an answer

Looks right.

When doing a 301, indicates something else. Could you contact service desk - they can login to your solution and check what it might be.

BR Nicolai

Votes for this answer: 1
 
Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

Thanks, case created!

 

You must be logged in to post in the forum