Skip Navigation

[Resolved] Triple WooCommerce View product content

This thread is resolved. Here is a description of the problem and solution.

Problem:

I use WooCommerce View for product page,
but in some reason main content of the product shown also below and above entire layout.

Solution:

You can change post body shortcode from:

[wpv-post-body view_template="headercsscommon"]

to:

[wpv-post-body view_template="headercsscommon" suppress_filters="true"]

Relevant Documentation:

https://toolset.com/documentation/user-guides/views/views-shortcodes/#vf-153372

This support ticket is created 4 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by kirillS-3 4 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#1654821
WooBug.png

I use WooCommerce View for product page like this: hidden link
But in some reason main content of the product shown also below and above entire layout.

#1654949

Hello,

The problem you mentioned above is abnormal, please check these:
1) Follow our document to setup the Woocommerce Shop page
https://toolset.com/learn/create-an-ecommerce-wordpress-site/designing-woocommerce-product-catalog/

2) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

3) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, and test again

#1655197

Done all 3 points, doesn't help: hidden link

#1655279

Please provide a database dump file(ZIP file) of your website, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1657787

Thanks for the details, the problem is in layout "Layout for Header and Footer":
hidden link

You are using below post body shortcode:

[wpv-post-body view_template="headercsscommon"]

I have modified it to:

[wpv-post-body view_template="headercsscommon" suppress_filters="true"]

Please test again, check if it is fixed. thanks

More help:
https://toolset.com/documentation/user-guides/views/views-shortcodes/#vf-153372
suppress_filters (opt):
'true' | 'false' (default)
If suppress_filters=’true’, all third party (non WordPress) filters hooked into the_content filter will be removed

#1658303

My issue is resolved now. Thank you!