• 0
Sign in to follow this  
Followers 0

WooCommerce for PageLines ProductContent not showing up on Default Template

Question

Posted · Report post

Hello!

 

I would like to have the products display on my homepage (uses Default template) and although I have the ProductContent active in my section nothing is showing up on my homepage.

I did read somewhere that ProductLoop, Breadcrumb etc, would have to be active as well, but these options are only available for the ProductArchive template. Does this mean that ProductContent can't be displayed on any other pages except the Shop page?

 

As an alternative I tried using the shortcode [recent_products per_page="12" columns="4"] but all the products were displayed in one list, rather than multiple columns so that didn't work...

 

Any help would be much appreciated.

 

25cats.com/

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Correct, you can only use the Product Loop on the Product Archive and Product Templates. 

 

To use the shortcode you need to add some extra code. I would suggest to change the template to Template 1 and then put the code below in Pagelines --> Site Options --> Custom Code --> CSS/LESS.

.alpha .hentry {
	clear: none; /* Fix for columns not rendering */
	}

If you need to use another of the templates replaces .alpha with .beta for Template 2, .gamma for Template 3, .delta for Template 4 and .epsilon for Template 5.

 

Let me know if that works.

 

Ellen

3 people like this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

This is great! Thank you Ellen!

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

ellenmva <3 !!! thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0