Archived topic
e-commerce help
20 replies · Started by anamoore on August 20, 2015
Hello!
I wanted to install Woocommerce and WP eCommerce on one of my websites. I tried both of them and I found them very, very complicated. I just want something to look exactly like your addons page.. like beautiful and simple product page and account page and so.
Can you tell me what have you used for your website's shop part?
Hello Roxana,
GeneratePress is fully compatible with WooCommerce.
Here is a demo from the shop page: http://demo.generatepress.com/shop/
Hi Roxana,
This site uses Easy Digital Downloads.
https://easydigitaldownloads.com/
If you're selling physical products WooCommerce is the way to go.
Hope this helps :)
Hello
I have an issue in displaying woocommerce page. I would like it to be displayed in full width like here http://demo.generatepress.com/shop/ however it it goes with sidebars currently.
Hi there,
WooCommerce uses the "Blog Sidebar" setting in "Customize > Layout".
If you want a different layout than your blog, this might help: https://generatepress.com/knowledgebase/choosing-sidebar-layouts/#sidebar-filter
Tom, I don't understand the link you posted about the filters for the woocommerce sidebar. What if I need to have a completely different sidebar for woocommerce pages than I do for blog pages? In the widgets, I don't see a sidebar for woocommerce anymore like I had with the previous theme.
Is it something we should add to the functions.php file?
Ahh I see, you want different widgets to show up.
Couple plugins that may be worth checking out:
https://en-ca.wordpress.org/plugins/display-widgets/
https://en-ca.wordpress.org/plugins/custom-sidebars/
That's a bummer, I didn't realize I'd have to use plugin to create a sidebar for woocommerce pages. So there's no code I could add to the functions file to create a sidebar that only appears on the product listing, and single product pages, and then be able to add/remove widgets to that sidebar in the Widgets page?
You could, but it would be the exact same as using a plugin.
Both of those are super popular plugins (close to half a million active installs combined), so there's not much to be worried about :)
I would like to remove sidebars on shop page completely. On woocommerce page I am choosing Content (no sidebars) layout, but it still shows up with sidebars. Any clue why this is happening?
You could do this:
add_filter( 'generate_sidebar_layout','generate_custom_woocommerce_sidebar_layout' );
function generate_custom_woocommerce_sidebar_layout( $layout )
{
// If we are on a woocommerce page, set the sidebar
if ( is_woocommerce() )
return 'no-sidebar';
// Or else, set the regular layout
return $layout;
}
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
I have aded it with Simple PHP however no changes appeared. It says Editing generate-simple-php/custom.php (inactive) above code input box. How to activate it or should i use other plugin's php?
Then i have tried with code snippet plugin and it did not help either.
I think you need to paste the code in your child theme's function.php file, at the bottom.
If you have right sidebar on blog but want left sidebar on shop page change return 'no-sidebar' to return 'left-sidebar'
That code is taken from our demo that you linked to.
Do the single product pages have sidebars still?