Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview: Manufacturer and Product in Multi Store #776

Closed
davza opened this issue Sep 20, 2015 · 0 comments
Closed

Preview: Manufacturer and Product in Multi Store #776

davza opened this issue Sep 20, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@davza
Copy link
Contributor

@davza davza commented Sep 20, 2015

When editing a Manufacturer or product in a multi-store setup (based on URL (domain names)) and you edit a manufacturer/product that is limited to a single store that is running on a URL that is different to the one that you are logged into the Admin section on.
If you try and preview the manufacturer/product you get a 404 page error.
This is "right" as the manufacturer/product that is being previewed does not exist in the backend URL that you are logged into, but can be confusing or seen as a problem.

Suggested changes are:

  1. Hide the preview button if the manufacture/product is limited to a store that is different to the one that you are logged in on.
  2. When generating the preview button, make sure that if the manufacturer/product is limited to a store that a valid URL is generated.
  3. When loading the preview (when the admin clicks the preview button), if there is a "page not found error", check the product to see which stores it it limited to and load a page that works.

I think that option 2 is the best solution.

@mgesing mgesing added the bug label Sep 20, 2015
@mgesing mgesing added this to the 2.5 milestone Sep 20, 2015
@mgesing mgesing self-assigned this Sep 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants