Hi,

I have a product page containing a list of products ,but the problem is that when I tried to click on the View Link on each product it just goes to the admin product page which is you will get an Access Denied.

My question is how to show the specific page to the end users?and why is it redirecting to the admin product link? Is there anything that I have done wrong on my configuration?
I have attached the product page and the page that shows when i click the view link.

Looking Forward,
John

CommentFileSizeAuthor
admin-product-views.jpg27.76 KBarcanys
product-page.jpg117.91 KBarcanys

Comments

arcanys’s picture

Priority: Normal » Major
rszrama’s picture

Two diagnostic questions:

  1. How did you create that view link in the View?
  2. Does the link on the product title work as expected?

My hunch is you're just running up against a limitation in our Views integration, but it could just be a matter of establishing an appropriate relationship between your product display nodes and product entities.

rszrama’s picture

Status: Active » Fixed

Ahh, I see the problem now. What you're getting is normal behavior. Products don't intrinsically have user facing displays, only the administrator page. This is definitely a usability problem, but the functionality is by design. The model we're adopting is building a node type that displays products for sale through the product reference field. Then instead of making a View of products to display to customers, you'd make a View of nodes with a relationship to products through the product reference field. The view link you'd use would be to the node instead of the product.

For more information on the architectural decision, please refer to http://www.drupalcommerce.org/node/49.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.