Skip Navigation

[Resolved] repeatable group in woocommerce product redirect to homepage

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

Problem:
repeatable group in woocommerce product redirect to homepage - how to use Divi theme with Toolset

Solution:

You can find the proposed solution, in this case with the following reply:
https://toolset.com/forums/topic/repeatable-group-in-woocommerce-product-redirect-to-homepage/#post-1224310

Relevant Documentation:
=> https://toolset.com/documentation/recommended-themes/toolset-divi-integration/

This support ticket is created 5 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 6 replies, has 3 voices.

Last updated by Rostislav Avtodiychuk 5 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1223178

I am trying to: Hello, I created a repeatable group for woocommerce products (need characteristics in view like this hidden link ) hidden link but when I fill text in my fields hidden link - hidden link and published my products i can't to view my product i redirected to homepage. In seo redirects i see hidden link even after removing this redirect I still have redirect to my homepage when i want to see my product.
I'll try use function in this link https://toolset.com/forums/topic/workflow-for-frontend-editing-of-repeatable-field-groups/ change to my data but it not help for me or I wrong understand what i need to do and change in function.
<?php
add_filter('cred_success_redirect', 'custom_redirect_rfg_editor',10,3);
function custom_redirect_rfg_editor($url, $post_id, $form_data)
{
if ($form_data['id']==208920)
$writer = toolset_get_related_post( $post_id, 'cahracteristics' );
return get_permalink($writer);
return $url;
}
toolset_snippet_security_check() or die( 'Direct access is not allowed' );

Thanks for help

#1223246

I'm sorry i change link in my threads and can't to edit 🙁 here are right
product hidden link
custom repeat fields - hidden link

#1223339

When I view hidden link in the front end I am lead to hidden link which is not the homepage, and it's the correct frontend view of the Product.

The Custom Code you share is irrelated to this, as it applies to a Toolset Form, with ID 208920, but Toolset Forms is inactive and uninstalled on your site, hence that code will not apply anywhere.
That code is intended for a Toolset Form, that edits RFG (Repeatable Field Groups) in the front end and shall redirect the form to the Post, where the Fields are added to.
This is not possible on your site as you do not have Toolset Forms installed or active.

Given there is no redirect happening, and the code is related to Toolset Forms only, I assume you mean the WPOD that happens on the Front end of your product?
WPOD means "white page of death" and it is referring to when you see no content but just a white page

To solve this, you need to activate WP Debug and reload the page (hidden link) to see if there is an error.
Then, report us that error so we can analyse it
https://codex.wordpress.org/WP_DEBUG

It may also be due to other plugins, a theme, or custom code.
Please make sure this is not the case by disabling those and testing again (eventually on a staging site)

#1223402

Hello Beda, I'm sorry for custom code, didn't think right i delete them.
I'll turn on WP Debug but if i want to reload page hidden link i see not found page with url hidden link when i update my product yoast created redirect hidden link to home page. Log in wp-content/ and I don't see errors with rfg, mostly errors from Layer Slider here file hidden link

I begin to doubt whether I understood correctly what I need, I apologize for repeating field group in each product for me, it has different characteristics and I need to withdraw them in this way hidden link, I planned to bring out such a grid of characteristics for each product using repeating fields and views.
But I do not understand why product url changes in this way.
Thanks for help and sorry for my poor English

#1223941

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello Rostislav Avtodiychuk - Beda is on vacation. This is Minesh here and I will take care of this ticket.

Well - I checked the tickets from first reply and I think its still not clear what exactly you want.

Can we start to investigate your issue with minimum setup (Only Tooleat plugins + WooCommerce) plugin installed? Disable all non-Toolset plugins and check if you see the same issue.

Then, can you please list your issue and upload it's associated image.

I see now that following page is loaded and do not display 404 error:
=> hidden link

Please share all required information about your issue as well as access details.

I have set the next reply to private which means only you and I have access to it.

#1224103
#1224310

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - When you activate WPML - the content is not displayed because you are using WooCommerce views.

I see you are using the Divi theme and here is the Doc that will help you how you can build your site using the Divi theme:
=> https://toolset.com/documentation/recommended-themes/toolset-divi-integration/

In addition to that, I see you are using the Layouts plugin and we already added the following notice in blue background color with the above Doc - that means you should not use the Layout plugin:

Toolset also features its own builder plugin called Layouts. However, when using Toolset with Divi, we recommend not to activate it and to use Divi Builder instead.

You should check the following Doc that will help you to setup your site to run multilingual:
=> https://toolset.com/documentation/translating-sites-built-with-toolset/prepare-site-run-multilingual/
=> https://toolset.com/documentation/translating-sites-built-with-toolset/

Here is the Doc that will help you to understand how you can create single product page and shop page using Divi and Toolset:
=> https://toolset.com/documentation/recommended-themes/toolset-divi-integration/creating-a-custom-single-product-page-with-divi-builder-and-toolset/
=> https://toolset.com/documentation/recommended-themes/toolset-divi-integration/creating-a-custom-shop-page-for-products-using-divi-builder-and-toolset/

I also recommend you to use our free test platform discover-wp.com and create a multilingual test site using WooCommrece site - this will help you to understand how WPML and Toolset setup:
=> https://discover-wp.com/register/?site_type=1200

More info:
=> https://toolset.com/faq/how-and-why-to-create-a-test-site-in-discover-wp/

I think to create a multilingual test site on discover-wp.com will help you a lot to understand how you build your site.

#1226322

My issue is resolved now. Thank you!