3
Answers
Vote up!
2
Vote down!

How to display sidebar_first region in product detail page?

Hi everyone,

I just started researching Kickstart for 3 week, everything is new to me.
Currently, I'm having an e-commerce project which have 80% similarity to Kickstart model.

My question is how to display sidebar_first in product detail page? I already set "Facet API: Search service: Product display : Category" visibilities mode to Not restricted in Pages tab, but it was not affected.

Asked by: ductm208
on October 11, 2013

3 Answers

Vote up!
0
Vote down!

hey ductm208,

i am also new to commerce kickstart, but maybe i can help u.

u need to setup ur sidebar_first block on: YOUR_DOMAIN/admin/structure/block click on konfigure, after little at bottom of tha page u can see the tabs where u can choose where u want to dispay the block, click on second selection - only show on pages below - and now u can enter ur page where ur product is displayed, for example:

YOUR_DOMAIN/CATEGORIE/NAME_OF_PRODUCT
(if u have enable the clean urls, if not maybe u must enter the ID of product)

please test and tell me if it works for u
regards

Answer by: dufink
Posted: Oct 15, 2013
Vote up!
0
Vote down!

hope this time my answer will show to you.

u must set up the block region u want to show on product detail page here:

YOUR_DOMAIN/admin/structure/block

now u click on configure and at bottom of page u see some tabs where u can set up the display ob the region... select the second tab - show only listed pages below - now u enter ur path to ur product, for exmaple like this:

YOUR_DOMAIN/MAYBE_CATEGORIE/YOUR_PRODUCT or if there are more products u want to display the block write:

YOUR_DOMAIN/MAYBE_CATEGORIE/*

important thing is, u must add the correct path to product and think of if u have clean url's enable or not...

hope this helps a little
regards

Answer by: dufink
Posted: Oct 15, 2013

Comments

I think the search blocks are fixed to display in /products page only, nothing else. Even if I entered into "Only the listed pages" box, system did not show any search block in home page.

- ductm208 on October 15, 2013
Vote up!
0
Vote down!

Easier way, just install Context and Context UI.

With context, if you haven't used it before, you can just create a new context that shows whatever blocks you want in the regions you want based on some simple rules such as Content Type. So you would just select your product display as the content type. No need to know every URL.

Travis
Answer by: Travis
Posted: Oct 23, 2013