Jeff Alvarez
Forum Replies Created
-
Hi @nsnidhi,
Our plugin should support PHP versions up to 8.5, try this version and see if that helps. Also, for feeds being stuck please try changing your batch size: https://adtribes.io/knowledge-base/batch-size-configuration-product-feed/
Or enable the disable HTTP generation option: https://adtribes.io/knowledge-base/what-does-disable-http-feed-generation-requests-do/
Hi @pos2012 ,
Sorry to hear about that, can you please provide more information on what version you were on before migrating to the newer versions.
Also, to get fix your issue – please run a backup or downgrade to the previous version.
Hi @golfball-uhu ,
Just to confirm the snippet is added and saved because I tried it again and it works: https://www.loom.com/share/815fdd21a63947f0a1d18fad8e2edc8b
Are you perhaps using different ways set the description for the product? Also, do try using the rule and filters(find and replace): https://ibb.co/Cp6jhZDv and find the html code and replace it
Hi @egletiere
Could you please confirm what previous version you were on before the update? Also, we are keeping notes of this issue but we aren’t able to replicate it.
To fix this, please duplicate or create a new feed then on your GMC pass on the newly created feed.
Hi @peetusivonen ,
Please try reducing your batch size: https://adtribes.io/knowledge-base/batch-size-configuration-product-feed/. The default value is 700
If that don’t work please run a basic debug where only WooCommerce, Product Feed Pro and Storefront theme active. Refresh the feed and see if that fixes things.
I also checked your setup and don’t see any configuration issues but if you want to be 100% sure try creating a new feed without any rules/filters.
Hi @golfball-uhu ,
Try this snippet, add it to your child theme’s function.php or through the WP Code plugin. This will remove any formatting for your description.
/**
* Product Feed Pro: Strip all HTML/formatting from description output.
* Removes tags such as <li>, <strong>, <em>, <italic>, etc. so the feed contains plain text only.
*
* @param array $product_data Product data array for the feed.
* @param object $feed The feed object.
* @param object $product The WC_Product object.
* @return array Modified product data.
*/
function storefront_pfp_strip_description_formatting( $product_data, $feed, $product ) {
$description_keys = array( 'description', 'short_description' );
foreach ( $description_keys as $key ) {
if ( ! empty( $product_data[ $key ] ) && is_string( $product_data[ $key ] ) ) {
$product_data[ $key ] = wp_strip_all_tags( $product_data[ $key ] );
$product_data[ $key ] = preg_replace( '/\s+/', ' ', $product_data[ $key ] );
$product_data[ $key ] = trim( $product_data[ $key ] );
}
}
return $product_data;
}
add_filter( 'adt_get_product_data', 'storefront_pfp_strip_description_formatting', 5, 3 );Hi @amracing ,
Looks like the images attached are not viewable, please make them public. Also, could you please pass on your debug log: https://adtribes.io/knowledge-base/send-your-debug-log-to-support/
If it’s long, please attached it to a file and send the file over. I’ll check your setup
Hi @golfball-uhu ,
On your Meta feed, are you perhaps using the rich_text_description or the regular description attribute? As we output CDATA for formatting, I suggest using rich_text_description
The regular description doesn’t play well with formatting compared to rich text description
Learn more about it here: https://www.facebook.com/business/help/120325381656392?id=725943027795860
Hi @amracing ,
Could you please provide an example on which item in the feed have the wrong values for the GTIN: https://ibb.co/4gZhzwj1?
I’ve checked but it seems normal to me. When confirming give me the original value and what the output is on your screen.
Also, do note that some cases browsers might omit the values. To be 100% sure, please visit your Google Merchant Center or the Shopping Platform you use and check if the GTIN values are correct.
Hi @wood1e ,
You could simply set a static value for the feed, you’ll just need to make sure that you are using a supported value: https://ibb.co/bcLf92Z
Here are relevant pages for the supported values:
Missing age group: https://support.google.com/merchants/answer/6324463?hl=en
Missing colour: https://support.google.com/merchants/answer/6324487?hl=en
Missing gender: https://support.google.com/merchants/answer/6324479?hl=en
Missing size: https://support.google.com/merchants/answer/6324492?hl=enbut the others I need to create attributes?
– In most cases yes, you’ll need to add the attributes so it meets Google Requirements. Do note that these are required for certain types of products only so it’s best to double check the links I’ve provided above.Hi @topopti ,
Looking at your debug log I don’t see any rules or filters and you have enabled to include variations but it’s giving 0 as the output
Please confirm if you have any variation products. Also, try creating a new feed and see if the product count returns. If not run a basic debug to confirm if there’s any theme or plugin conflicts.
Hi @sahdevinsight ,
It’s likely an issue coming from Google, the XML feed itself is giving the appropriate content. I suggest reaching out to the GMC support team to take a look as you are giving a supported value.
See: https://support.google.com/merchants/answer/6324406?hl=en#zippy=
Hi @webcart ,
Could you please send a screenshot on how your feed/rules are set up?
Hi @acquamarina ,
So downgrading to the previous working version for Product Feed Pro didn’t fix the issue? Also, you mentioned that new feeds without any rules or filters still have the same issue of 5 products only?
Just to confirm, do you have the generate preview feed option enabled?: https://ibb.co/95c47td
Having said that our plugin just might be reporting wrongly; if it was not writeable then you shouldn’t be able to generate feeds at all. If it’s generating then it’s likely a setup issue.
Please read here for more information: https://adtribes.io/knowledge-base/help-i-have-none-or-less-products-in-my-product-feed-than-expected/
Hi @dreamjobma ,
Sorry for the delayed response.
That issues quite odd, It might be case-by-case. It might be a feed having issues with generating and it had bad outputs.
Could you please try lowering your batch size and see if that fixes things: https://adtribes.io/knowledge-base/batch-size-configuration-product-feed/
This should stabilize the generation process of the feed