Hi,
Thank you for contacting us.
Please provide us the login to your WP-dashboard and we will help you solve your issue. Alternatively, visit us through live chat from our site(www.exportfeed.com).
Regards,
ExportFeed Support
Thread Starter
WebMat
(@webmatpro)
umm,
only change it please :
from /purple-xmls-google-product-feed-for-woocommerce/core/feeds/basicfeed.php
line 719
if (isset($this_product->attributes['tag'])) {
$tags = null;
$terms = get_the_terms($this_product->id, 'product_tag');
foreach ($terms as $key => $value) {
if ($tags !== null) {
$tags .= ',' . $value->name;
} else {
$tags = $value->name;
}
}
$this_product->attributes['tag'] = $tags;
}
to
if (isset($this_product->attributes['tag'])) {
$tags = null;
$terms = get_the_terms($this_product->id, 'product_tag');
if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){
foreach ($terms as $key => $value) {
if ($tags !== null) {
$tags .= ',' . $value->name;
} else {
$tags = $value->name;
}
}
}
$this_product->attributes['tag'] = $tags;
}
-
This reply was modified 7 years, 11 months ago by
WebMat.
-
This reply was modified 7 years, 11 months ago by
WebMat.