Skip Navigation

[Resolved] Layouts and Woocommerce still not working

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 8 replies, has 3 voices.

Last updated by harryT 9 years, 10 months ago.

Assisted by: Caridad.

Author
Posts
#222182

https://toolset.com/forums/topic/layouts-and-woocommerce-views/ said that this issue was resolved. Yet my products pages still don't apply the layouts. I'm using your Toolset-Bootstrap theme.

Site is not yet live, but I will provide a logon to it for you to check.

#222233

Dear Harry

Please share your access details with us and I will review it together with a developer.
You can use the boxes below the comment area, after you agree to the disclaimer.

Regards,
Caridad

#222267

Login sent.

#222561

Dear Harry,

I'm contacting the developers about this, please stand by.

Regards
Caridad

#222719

Dear Harry,

I found out that Woocommerce Views is not fully integrated to Layouts yet. Out plan is to make it a feature for the finalrelease if everything goes as planned.

Regards,
Caridad

#222738

Hi Harry,

I've had a look at your site. It's complicated the interaction between layouts and WooCommerce Views.

Can I make some changes on your site to try something. This is what I intend....
1) Add a new php template to the theme for the products that will support layouts and WooCommerce Views
2) Modify the Main products layout to use the the Single Products content template

Is it ok for me to try these changes?

Best regards,
Bruce

#222870

Yes, please proceed.

#222980

Hi Harry,

I created a new php template called page-product-layouts.php. It's a copy of the page-layouts.php but with the following code added so that WooCommerce Views would list the template in its settings page.

/* This is here so it gets listed in WooCommerce Views dropdown.

function products_loop_for_layouts () {
while ( have_posts() ) : the_post();
get_template_part( 'content', 'page' );
endwhile;
}
*/

Then I modified the Main Product layout and set the Post Content cell to used the Single Product Content Template.

I also added a Navigation bar to the layout.

I hope this is what you were after.

Best regards,
Bruce

#222989

That's it. Need to add this code to the next update. Thank you!

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.