Jeff Alvarez
Forum Replies Created
-
Hi @mrlbrd ,
This happens on a case-by-case basis. We are monitoring this as a potential bug. In the meantime, please use the rules and filter to update the availability status as a temporary fix: https://adtribes.io/knowledge-base/how-to-create-filters-for-your-product-feed/
Hi @louisapple ,
I see, you’d like to add another rule that bypass the first 2 rules, at the moment our rules and filters use the AND rule so that’s not possible.
There’s a feature request for this so I’ll add a +1 in favor of it being developed.
Hi @louisapple ,
Your rules are set up correctly, so I asked you to do some basic debug to confirm that this isn’t a plugin or theme conflict. Though with the less than quantity rule, please ensure that products itself have quantities/inventory management
I’ve also tested the less than stock quantity rule and it’s working fine (no bugs)
Hi @pete4mask ,
Have you tried creating a new feed/template? Duplicating the feed will usually cause issues, best way is to create a new feed.
As for the pricing decimal & thousands separator. We’ve introduced a feature where feeds follow the ISO4217 as we’ve received reports that the pricing structure have problems with Google.
Try running a feed at your and with Australia as the country and include variable products.
= Did this and there’s no issue, targeting Australia or other countries. All the feeds refreshed fine.
For the pricing/VAT, have you tried using the excl. VAT options?: https://ibb.co/gbWY4KB2
HI @galbaras ,
Use this snippet to set values for the field: https://ibb.co/4RqCfz46
function modify_product_feed_product_id($product_data) {
if (isset($product_data['id'])) {
$product_data['id'] = 'TEST_ID_12345'; // Set to a test value
}
return $product_data;
}
add_filter('adt_get_product_data', 'modify_product_feed_product_id', 10, 1);Hi @louisapple ,
Your rules are correctly set up, it’s just that the values for the Availability isn’t the expected so if you have a product is out of stock then it’ll still be shown as the default value is out_of_stock. But if this is what is shown on the feed then you won’t need to change anything.
For the quantity stock, it’s correctly set up. Please send in your debug log: https://adtribes.io/knowledge-base/send-your-debug-log-to-support/
Also, please confirm if you already done basic debug as the quantity stock rules/filters works fine. As for the hierarchy of the rules, the bottom has the highest priority (will override the top)
Hi @prokops ,
Our plugin now uses Woocommerce’s scheduled actions to refresh the feed. You could try looking into it to see if it can be triggered via code: https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/scheduled-actions/
I’ll mark this post as solved for now as you are using another plugin to generate the feed. We already noted that this might be a potential bug with the availability being different values.
We’ll apply a fix once we are able to replicate this behavior and monitor this bug with other user reports (if any)
I’ll mark this post as resolved for now, please open up another post if you face further issues.
Hi @galbaras ,
By that do you mean by using another fields value to be passed on to a field? So based on your image, you are:
- Checking if the Rank Math Gtin Code is Empty
- If True pass SKU value to Rank Math Gtin Code Field
Is this correct? If so, we currently don’t support this. Right now based on your images, if the rank math is empty then you are setting the SKU value as empty.
Hi @louisapple ,
The availability values should be: out_of_stock try adding that on the rules and filter, refresh the feed and view the feed via incognito to confirm the changes.
Hi @pete4mask ,
Please stop the feed, refresh it and check for any browser console errors. Also go to Woocommerce > Status > Logs for any critical error logs.
Having said that there shouldn’t be a bug with the include variations option. Try running a basic debug to confirm that it isn’t a theme or plugin conflict.
Hi @coccidev ,
That’s odd the manual refresh and the automatic refresh are pretty much the same so the outputs should be the same.
Try lowering your batch size: https://adtribes.io/knowledge-base/batch-size-configuration-product-feed/ and ensure that your server PHP version is 8.1 (our officially supported version)
Also, do a basic debug to confirm that it isn’t a theme or plugin conflict. The default batch size is 100, try 50 for starters and increase /decrease the value depending on the outcome.
Hi @kos730 ,
Do you mean by using the ISO 4217 format or outside this format for the pricing? This would mean the thousand separator is a dot(.) and the decimal separator is a comma(,)
If your Woocommerce store have this settings set, please use a custom template as the premade templates are forced to follow ISO 4217 formats.
Hi @galbaras ,
Looks like you are adding custom fields to the variable products. Try add this snippet to add the custom fields to the mappable fields:
add_filter('adt_product_feed_attributes', function($attributes) {
$attributes['Main attributes']['custom_field'] = 'My Custom PFP Field';
return $attributes;
});This will add the custom field to both the rules and mappable settings. Please note that I’ve yet to test this out(if data is being pulled properly) so you may need to further customize: https://ibb.co/wrCk7YXy