datafeedr
Forum Replies Created
-
Forum: Plugins
In reply to: [Cloak Affiliate Links for WooCommerce] Not workingStrange… I just tested on a few different websites of mine and it works fine…
Forum: Reviews
In reply to: [Cloak Affiliate Links for WooCommerce] Has problem with All Import data feedMaybe this modified code can help:
function disable_wccal_before_wpai_import( $import_id ) { add_filter( 'wccal_valid_product_classes', [], 999 ); } add_action( 'pmxi_before_xml_import', 'disable_wccal_before_wpai_import' ); add_action( 'pmxi_before_post_import', 'disable_wccal_before_wpai_import' );Forum: Reviews
In reply to: [Cloak Affiliate Links for WooCommerce] Has problem with All Import data feedThis has already been asked and addressed here https://ww.wp.xz.cn/support/topic/plugin-masks-product_url-when-import-updating-via-cron/#post-11451615
Forum: Plugins
In reply to: [Datafeedr Comparison Sets] Product Compare not showing for all productsHi
How many merchants have you selected here WordPress Admin Area > Datafeedr API > Merchants?
Thanks
EricForum: Plugins
In reply to: [Datafeedr API] Product Set updates replacing attribute termsOK, thanks, do let me know how it goes!
I’m sorry you had these problems but hopefully this solves it! 🙂
Eric
Forum: Plugins
In reply to: [Datafeedr API] Product Set updates replacing attribute termsForum: Plugins
In reply to: [Datafeedr API] Product Set updates replacing attribute termsCorrect, there is no place to create Datafeedr Global Attributes… Datafeedr relies on the WooCommerce attribute system.
Can you try adding the following code to your custom plugin:
add_filter( 'dfrpswc_filter_attribute_value', function ( $value, $attribute, $post, $product, $set, $action ) { $attrs = array_column( wc_get_attribute_taxonomies(), 'attribute_name' ); if ( 'insert' === $action ) { return $value; } foreach ( $attrs as $attr ) { $name = dfrapi_string_starts_with( $attr, 'pa_' ) ? $attr : 'pa_' . $attr; if ( $name !== $attribute ) { continue; } $value = wc_get_product_terms( $post['ID'], $name, [ 'fields' => 'names' ] ); $value = implode( WC_DELIMITER, $value ); } return $value; }, 10, 6 );That code will recognize your existing and future attributes so you won’t need to update the code if you add or remove WooCommerce Global attributes in the future.
Hope this helps!
If you have any other questions, please don’t hesitate to ask.
Thanks,
EricForum: Plugins
In reply to: [Datafeedr API] Product Set updates replacing attribute termsOK, I see. Thanks for clarifying.
And just so I fully understand…
Were all of your attributes created here: WordPress Admin Area > Products > Attributes?
Forum: Plugins
In reply to: [Datafeedr API] Product Set updates replacing attribute termsHi Chuck
I am confused… You mention that you are “not using any Global Attributes” but you said “the WooCommerce attribute I created, Antenna Amplified … with two terms …”.
Where did you create the WooCommerce Attribute “Antenna Amplified”? On this page: WordPress Admin Area > Products > Attributes?
Thanks
EricForum: Plugins
In reply to: [Datafeedr API] Product Set updates replacing attribute termsSo you aren’t using any Global Attributes? You are only using Custom Attributes?
Is that correct?
Forum: Plugins
In reply to: [Datafeedr API] Product Set updates replacing attribute termsHi Chuck
You don’t need to add the terms to the custom code but you will need to add your various attribute slugs to the $attrs array.
So you might have:
$attrs = [ 'color', 'size', 'gender', 'material', 'condition', ];You can find all of those 40 slugs here WordPress Admin Area > Products > Attributes.
Hope this helps!
Eric
Forum: Plugins
In reply to: [Datafeedr API] Product Set updates replacing attribute termsHi Chuck
If you are using Custom Attributes you also need to add this code to prevent custom attributes from being overwritten during a Product Set update:
Hope this helps!
Eric
Forum: Plugins
In reply to: [Datafeedr API] ManualHi
I’m not familiar with the Stimto plugin so I’m going to guess no that this is not possible.
Eric
Forum: Plugins
In reply to: [Ads by datafeedr.com] Doesnt work with latest phpHi
I just tested with PHP 7.4 and the ads rotate fine.
Can you check your PHP error log and see if there are any errors specific to this plugin?
Thanks
EricForum: Reviews
In reply to: [Datafeedr API] small import problemHi @negozishop
I’m sorry your problem was not solved as soon as possible. Your support tickets came in on Sunday and we do not usually provide support on the weekends.
We have cancelled your subscription and issued you a full refund.
Thanks,
Eric
Datafeedr Co-founder