I want to add a block of content in right side bar which will be dynamic based on customer's login status.
For example if the customer is not logged in I have to show create account and login button there in the right side bar.
if the customer is logged in then I have to show other buttons.
How do I go about this?
In your layout XML (which you know how to use) use the layout handles customer_logged_in
and customer_logged_out
. Inspect the existing customer.xml
layout file to see examples.