• Plugin has problem with cloaking affiliate links when data feed imported through All Import plugin into woocommerce. All old product imports finished before cloaking addon installation does fine and when clickon button it leads you where it should. However , when cloaking addon is active while importing products through data feed ,addon just sets cloaking link instead affiliate link and on click doesn’t lead anywhere… And if you disable addon , those cloaking links stay permanently on product unless you rerun your product feed again so it can update aff links. Other products which are imported before plugin activation and they were cloaked with new permalink after plugin deactivation returns original url.

    Although , if you run WP All Import manually addon works flawlessly. It seams that only has problem with feeds scheduled with Cron jobs

    • This topic was modified 1 year, 12 months ago by borgcollective.
    • This topic was modified 1 year, 12 months ago by borgcollective. Reason: Further testing
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author datafeedr

    (@datafeedrcom)

    Thread Starter borgcollective

    (@borgcollective)

    Thanks mate ??</img>??</img>

    Thread Starter borgcollective

    (@borgcollective)

    Nope, still causing problems. After i triggered cron manually, addon still rewrites aff links without final address. Although ,when i run import manually no problem what so ever… Maybe something changed in a code since three years ago?

    Maybe if you can adjust addon to sense if any import is active to hold rewrites new links until all imports are finished ,or delay “real time” overwrite for newly found links for 2min…Ideas… Awesome addon just needs that tweak and its perfect.

    RH Link Pro did good job with cloaking affiliate links in a posts

    Plugin Author datafeedr

    (@datafeedrcom)

    Maybe 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' );
    Thread Starter borgcollective

    (@borgcollective)

    I tried, still works fine when WPAI is manually triggered but triggered with cron does not, actually when feed is triggered by cron , WPAI starts processing the first record and it stops,cron script is still going but not records… And that one record does not have all fields populated, seems that data fields for woocommerce missing, maybe woocommerce is root of the problem?!?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Has problem with All Import data feed’ is closed to new replies.