I have a problem with my related and upsells.
When a customer login, my related and upsells not display in product_view.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The three most likely ways in which this can happen involve the following:
Layout XML:
grepyour layout xml for<customer_logged_in>and see if there are any<remove />nodes referring to these blocks. Also check for<action>tags withunsetChildmethod calls that refer to these blocks.PHP/PHTML: It’s possible that the templates and class definitions for these blocks have had logic added to them to check for customer logged in state. This would be an inefficient way to accomplish this, but it’s possible. You’ll need to check the templates (google for Magento template path hints) and the block classes in which they are rendered; see if they have been customized.
CSS: This is the most unlikely candidate, but I’ve seen developers set
display:nonebased on<body>classes added via layout XML. This could be seen as anaddBodyClasscall in the<customer_logged_in>layout update handle, which I described how to find above.