Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.0-alpha3
Component:
Product
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2010 at 02:53 UTC
Updated:
5 Jan 2011 at 22:20 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| admin-product-views.jpg | 27.76 KB | arcanys | |
| product-page.jpg | 117.91 KB | arcanys |
Comments
Comment #1
arcanys commentedComment #2
rszrama commentedTwo diagnostic questions:
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.
Comment #3
rszrama commentedAhh, 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.