Skip Navigation

[Resolved] Product parent post issue

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

Problem: When I include a Content Template shortcode or a wpv-woo-display-tabs shortcode, information from the current post is displayed instead of information from the parent post.

Solution: This issue has been resolved in the latest version of Toolset plugins.

This support ticket is created 6 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 6 replies, has 2 voices.

Last updated by PiotrO586 6 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#707558

Hi,

I set relationship the way that the WooCommerce Product is a child of Toolset CPT. I have no problems when I display CPT Product children. However, when I try to display Product parent CPT (title) I come across the following issue: the parent post displays improperly when I include Product body (description) in the Layout – instead of the parent CTP title, the current Product title displays; without Product description included in the Layout, the parent CTP title displays properly. I attach screen: hidden link

#711650

Hi, can you try the following troubleshooting steps first?
- Temporarily activate the GeneratePress parent theme, then deactivate all plugins except Types, Views, WooCommerce Views, Layouts, and WooCommerce. Test again.
- If the problem was resolved, please reactivate your child theme and other plugins one by one until the problem reappears.
- If the problem was not resolved, please copy + paste the code you are using to display the parent post information. I will be glad to review that for you.

#716041

Hi Christian,

switching to parent theme and deactivating plugins didn't help.

The code I use to display information about parent post information is simply:

Posted on [wpv-post-date] by [wpv-post-link id="$profile"]

If only I add to the layout row (Visual Editor) the:

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

or

[wpv-woo-display-tabs disable_reviews_tab="yes"]

the

[wpv-post-link id="$profile"]

shows the current post tile, instead of the parent one (which is shown properly without the body shorcodes).

#719661
[wpv-post-body view_template="None" suppress_filters="true"]

This can be replaced with a Post Content cell, but the wpv-woo-display-tabs shortcode still causes problems. I'm reaching out to my 2nd tier support team for some clarification on this, please stand by and I will update you soon.

#727715

My 2nd team is continuing their investigation and has published the following erratum post about the problem:
https://toolset.com/errata/post-parent-data-is-not-displayed-on-woocommerce-products-styled-with-layouts-visual-editor-cells/

#908999

Hi, please update to the latest version of Toolset plugins to receive a fix for this problem. Thanks for your patience.

#911494

Thanks Christian!