January 10, 2014 at 11:01 pm #208231
Hi, I’m working on an e-commerce site for a client so I’ve installed the WooCommerce plugin. I’ve added widgets to the “Single Product Pages” sidebar and selected “Single Product Pages” from the Sidebar Setting drop down on the Products post type but it the side bar does not show up. When I select another sidebar layout the default sidebar shows up below and on the left hand side. I am unable to fine the single product page template in the site files to see if this is something I can change on my own.
The website is http://www.nashvillecotton.com/ to view it the password is dev. An example of the single portfolio page is http://www.nashvillecotton.com/product/cork-board-with-greek-letters/.
Here is a screenshot of the product page and here is one of the widget sidebar settings
Any help would be greatly appreciated.
Thank you, Jen
January 11, 2014 at 12:01 am #208268
- This topic was modified 1 year, 4 months ago by jcjones08.
I’m not sure what the root of it is but somehow the sidebar is getting the hidden class added to it. I would first suggest re-downloading the theme from your account on themeforest and then uploading a fresh copy for your parent theme. Switch over to just the parent and make sure the sidebar is showing under the product images like it should and then switch back to the child theme.
If at that point it gets hidden again then try removing all of your customizations and then re-add them in one by one.
The theme doesn’t use template files for the woocommerce pages as it doesn’t really modify them except for some additional styling. So everything is done with filters and action hooks in the config-woocommerce>config.php file.
DevinJanuary 11, 2014 at 1:52 am #208280
Thank you for the quick response. I have gotten the side bar widgets to show up, but they are still only showing up on the left side within the single-product-main-image div underneath the product gallery. Is this where it should be or is something else going on. I would like it to show up on the right side if possible. Is this something that can be done within the css or the WooCommerce config.php.
Thanks again for your help,
JenJanuary 11, 2014 at 2:49 am #208285
The single product template does not support a right sidebar at the moment. Some major code rewrites would be required. Please post a request here: http://www.kriesi.at/support/topic/enfold-feature-requests/
IsmaelSeptember 12, 2014 at 10:46 pm #318345
I realize this thread is a bit old, but my sidebar widgets were working on the “Single Product Pages” then they disappeared.
What did you do to fix them?
When I check the view sorce – there are “hidden” classes on their now. Any ideas what would make it go from working to not working? I did not add any widgets or do anything that I could think would have affect it.September 13, 2014 at 12:03 am #318358
I FOUND IT! After 2 hours of playing around with settings, I figured out what was causing it….Possibly a bug so I thought I’d report it.
On the “Shop” page )that was created by the wooCommerce plugin) I changed the “Layout” from Default to “No Sidebar”. Some Reason this affects the display on the individual product pages (the possible “bug” since a setting on 1 page should not affect the setting on another page.
This also leaves me with the problem of not being able to remove the sidebar on my “shop” page (which lists all products entered into woo commerce.
Can you help with that and do you want me to start another thread for it since it’s technically a different problem?
Thanks in advance and LOVE your theme.September 13, 2014 at 12:27 am #318362
The setting should be tied to the general theme sidebar setting for pages. If you go to the theme options and choose the option for pages to have a default sidebar turned on then all single product pages will show the sidebar.
DevinSeptember 13, 2014 at 1:30 am #318370
There is no option for “default” on the sidebar option in Theme settings. The only choices are “left sidebar”, “right sidebar”, or “no sidebar”.
Regardless of the theme settings – if I change the settings on an individual page under that pages “Layout” options, it should not affect the sidebar settings on a different page / post as the choices on individual pages are exactly that…. settings for that page only.
This is a bug of some sort as all I did was change the settings on the “Shop” page (not in the theme settings) from “default” to “no sidebar” and it forced the WooCommerce Sidebar to be hidden on the Individual Item post pages.
I am still left with my issue of not being able to disable the sidebar on my “shop” page as it is affecting things other than that page.
Thanks for your help.September 18, 2014 at 1:43 pm #321155
Its a bit unintuiative but single product pages have no customization options. The sidebar is inherited from the parent page which is the shop template.
So whatever is set to default there will fall down through the single product pages. The ‘default’ I meant is having either a left or right sidebar turned on which would just default all page templates to using a sidebar which would then mean the single products have the sidebar defaulted on as well.
I’ve asked Kriesi to look into adding a specific function for single product pages since it does cause questions like this.
DevinSeptember 18, 2014 at 5:14 pm #321323
Thanks for looking into this, and thanks for asking Kriesi to look at it as well.
Just an FYI – there are customization options on the product pages (posts?)….
As you can see in the screenshot – I can choose a customized sidebar option on the product pages, I can choose “Single Product Pages”…. the problem is that if I have my shop page set to “no sidebar” and I turn on the “Single Product Pages” sidebar on an individual product – the “parent page” (shop) settings for sidebar seem to over ride the settings on the individual product pages.
Let me know if you need anything from me…. Glad to help, and I love this theme….especially the support you guys provide.September 18, 2014 at 6:35 pm #321374
Yep, the content of the sidebar can be controlled from the single product page but not *if* there is a sidebar. That is inherited from the parent template because of how WooCommerce handles templating by default.
If the parent has it turned off, either by the theme wide option or the single page option, then it gets inherited for each single product page.January 21, 2015 at 1:56 am #382819January 21, 2015 at 8:54 pm #383339
When you view your products they will use the “Single Products Pages” widget area that you can find in Dashboard > Appearance > Widgets.
If you add widgets to that area and they are not displaying then try deactivating all plugins and send us a WordPress login.
ElliottApril 22, 2015 at 5:24 pm #432989
Thanks for your lovely theme.
I have similar problem, so I’ve added some WooCommerce widgets (such as WooCommerce Price Filter) to the “Shop Overview Pages” or “Sidebar Pages” sidebar and selected “Shop Overview Pages” or “Sidebar Pages” from the Sidebar Setting drop down on the my new page, the side bar does not show up.
But when I selected it from the Sidebar Setting drop down on the “WooCommerce default shop” page, it works.
GaramalekiApril 23, 2015 at 5:16 pm #433613
Some Woocommerce widgets such as the price filter will not display unless you actually have some products displayed on the page that you can filter between.
If you add a normal widget such as “Custom Menu” or “Meta” to the sidebar you will see it displays anywhere you use it.
You must be logged in to reply to this topic.