Hi @laikinas,
Thank you for reaching out to us.
Please add the below code snippets to your active theme’s function.php file and let us know how it goes.
- Please use the following code snippet to remove attributes from the variation title.
https://gist.github.com/webtoffee-git/20e33712d811904d0750335b87c7bab1
- For converting shortcode to HTML use the following snippet.
https://gist.github.com/webtoffee-git/0cc2f0803366a51721fe21365f3a5a07
Thanks a lot, unfortunately it did not work. I put the code to functions.php but it broke the site. Do you have any other ideas how to make it work?
Thanks
@laikinas
Could you please share the error you are seeing when the code snippet is added to the site. Please verify if the code snippets are copied properly.
Thanks, sure, the error which i get if I use a plugin code snippets
Snippet automatically deactivated due to an error on line 3:
Impossible to declare the function
wt_feed_filter_product_description
If i put this code firectly to functions.php, it gives a critical error.
How I put the function in is attached below
https://ibb.co/w6PXNg9
@laikinas
add_filter('wt_feed_filter_product_description', 'wt_feed_allter_product_description', 10, 2); function wt_feed_allter_product_description($description, $product) { $description = do_shortcode($description); return $description; }
Could you please replace the code snippet with the attached one and check if it works.
Hi, thanks. So I added the code but it is hard to say if something has changed, looks like I cannot create the feed now, it shows the error below
https://ibb.co/1XGctBp
Do you know why this error is present now?
Thanks
Hi @laikinas,
To check further can you please share the Fatal error log file via support?
Path for fatal error log :
WooCommerce>status>logs>fatal-error
The latest fatal error log from the drop-down list can be found by checking on the date and time. Click on the View button, You can then copy the error and paste the log.
Hi, thanks, I jsut sent the email with the required information.
Look forward to reading from you soon
Hi @laikinas,
Thank you for sharing the log.
According to the error log, we have identified orphaned variations in your store, and while generating the feed, errors occurred because the parent variable product was missing. Even though it’s not a common scenario, we will include a fix in the upcoming release.