RichardMisencik
Forum Replies Created
-
Is it not possible?
@gripgrip I see, thanks for the clarification. So the safe bet is to run all snippets everywhere unless I know for sure the specific action/filter doesn’t use wp ajax
Hello,
@gripgrip thank you for a quick reply. Yes i remove the snippet from functions first and then save&enable in snippets, i’m even testing this on a bare minimum setup (flatsome theme with only woocommerce and code snippets enabled).The previous snippet works now (template issue) but here’s another.
Can you please clarify how the snippet insert location works? For example this cart snippet works if “run everywhere” is chosen but not if “frontend only” is chosen.function action_after_shipping_rate ( $method, $index ) { if( 'flat_rate:2' === $method->id ) { echo '<p class="shipping-method-description">' . __( 'test', 'domain' ) . '</p>'; } if( 'flat_rate:1' === $method->id ) { echo '<p class="shipping-method-description">' . __( 'test', 'domain' ) . '</p>'; } } add_action( 'woocommerce_after_shipping_rate', 'action_after_shipping_rate', 20, 2 );
Forum: Plugins
In reply to: [WPS Hide Login] WPML compatibility problemHello,
to be sure, are we talking about line 203 in that file? Is it possible to add a wpml compatibility check in the plugin core to avoid overwrites with updates?
Thanks.Forum: Plugins
In reply to: [WPS Hide Login] WPML compatibility problemHello,
thanks for a reply, I’ve read the thread and saw the fix they provided for “/classes/plugin.php” in WPS Hide Login.But if it has been patched why am I running into the same issue again? Is it possible it’s a new error?
Hi,
yes I was using v 7.7.6 at the time and now latest 7.7.7Hello,
maybe something is wrong with my setup or server or a plugin conflict, i have no idea what it could be, i see no errors, no logs, nothing.I’m pretty sure they are not cached because manually removing products or changing categories or anything else and manually refreshing completely regenerates them.
Just like the category filter disabled itself and now there are 10000 more rows in the feed.
Hi,
actually I manually set the products without images as drafts so they don’t show up.
I also disabled cache plugin entirely but products without description will still show up, for example:Also I deleted and recreated filters and rules for the feed just to make sure they were registered correctly (because I copied my feeds and then changed settings) but that didn’t help and for some reason now category filter isn’t working either, all products show up in the feed.
The only filter that seems to be working now is the price less than 20 and availability rule from backorder -> instock.
I tried it on another install without a cache plugin as well, and description filter doesn’t work there either.
I think I’ve run out of options but thank you for your help.
Hi,
Yes I understand that, that’s why I want to remove products without images or descriptions from feeds because they can’t be uploaded to google/facebook shopping.Debug log: https://bikere.sk/wp-content/uploads/woo-product-feed-pro/logs/debug.log
Feed [filename] => Y6RrZhW2OIDwtIVhDybimhtZ7ASFYja2
What’s the difference between main image and featured image?Thank you.
Hello,
I have the exact same filter but it only removes the fields not products.
For example, a product without image and description:
Filters setting: https://i.imgur.com/ZEqKy1u.png
Product in the feed: https://i.imgur.com/XdBgQgm.png
Product in dashboard: https://i.imgur.com/TeR22D6.pngI tried clearing cache and force refreshing multiple times but no luck.
What else can we try?
Thanks for your time.Hello,
the feeds might have gotten stuck while trying to regenerate all 8 of them since the interface is a bit buggy, while clicking the regenerate button it briefly switches to “processing (0%)” and then back to ready, but in the back end it’s running, so when clicking multiple times maybe the regenerate job stacked up multiple times and it bugged out.Thank you for the heads up, i removed the second condition and availability fields from the feeds. There are no fatal errors in woocommerce logs however.
I cleaned up my list of cron jobs as well, there was a duplicite of woosea_cron_hook – woosea_create_all_feeds(), now there is only 1.
I also excluded product variations from the feed and now there seems to be no duplicates. I re-included them again and 2 duplicates appearead.
So I’m pretty sure the product variations option is causing the issue, just a note this product in question is just a simple product with no variations (weird).
One more question, filters and rules only apply to product fields not products itself? For example when i create a filter to exclude when main image is empty, only the field will be exluded? Because products without images are still in the final feed, just missing the image field.
Thank you.
Hello,
alright I rolled back the changes to how it was but i had this issue with the default setting already.I reprocessed the feeds again, cleared the cache and still the issue persists, please take a look: https://bikere.sk/wp-content/uploads/woo-product-feed-pro/xml/h4aesHbDDokUPVvMZk5sCcWojUd4VJFE.xml and search for example for ID 104767. Right now this product is included 3 times. It’s a simple product with no variations.
The debug log should also be updated, i don’t understand why isn’t this working? Everything seems to be set up correctly.
Hello Eva,
I sent the debug file to [email protected]I left the default field mapping for ID untouched, but I’m guessing some variable products were still getting duplicate IDs for some reason. I set up new group ID field as well with the value of parent SKU.
Also another thing, I set up filters to exclude products with empty price, empty description and empty image link but those products are still showing up in the final feed. Why is this happening?
Thanks.
Hello Eva,
thanks for your reply.- “Field is too long:” – we use feeds to import products so we need to manually edit affected products, but if there’s no function for this, I will do it manually
- “Invalid Currency Amount:” – sorry I forgot to include this, the problem are prices with more than 2 decimal points so 56.9525 EUR, 66.45174 EUR, 47.4525 EUR, 14.20212 EUR, 7.55174475 EUR (can I share the feed privately?)
- “Field contains all uppercase letters:” – thank you I will fix this manually
Another question, when duplicate id is detected is it possible to exclude the product with duplicated id? Thank you.
Hi @wpallimport
Thank you very much for your help ??