Support » Plugin: Automatic Post Tagger » APT doesn't work with WP ALL IMPORT

  • Resolved zelenkar

    (@zelenkar)


    Hello, I love your plugin, but I have one problem.

    In my Cron, I have every day scheduled action – to import products in my database (with WP ALL IMPORT). I have set up in APT: if the product title contains some keywords, the product is assigned to certain category. It works great, but only if I every day hit the button „Process posts“, but it doesn’t work everytime the database is actualized by the cron job. I think that WP ALL IMPORT always has to edit the product or add new product, so I thought that durring this operation also the assignment of product to category should happen, but it’s not happening…

    https://wordpress.org/plugins/automatic-post-tagger/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Devtard

    (@devtard)

    Hi, it seems that APT processes imported posts just fine if I comment out the line 1641 in the file /wp-all-import/models/import/record.php like this:

    //$this->associate_terms($pid, ( empty($assign_taxes) ? false : $assign_taxes ), $tx_name, $logger, $is_cron);

    Try it out and let me know if that works for you or not.

    Wow, now it works perfectly. Thank you so so so much, great job, Devtard. And also thank you for really amazing plugin 😉

    Zelenkar thanks for pointing me to this! I’m not 100% sure it can do what I need because I may need to configure based on custom categories but before I spend hours trying to learn it can you tell me if its working flawlessly for you or are there minor issues that still are not working?

    And are there basic instructions? This thing seems kinda complicated to have no sort of instructions on how I separate into hierarchical categories. I’m just looking for the quickest way to test it out first.

    And just to update this page since it is linked to from the plugin page, as of today in WP All Import Pro this is now moved to line 2566, no longer 1641

    $this->associate_terms($pid, $txes[$i], $tx_name, $logger, $is_cron);

    I didn’t find any issues, so maybe you should give it a try 😉

    Hi!Your plugin doesnt work with wpallimport pro version 3.3.4
    I have studied this post but cant find any related code in the file you describe (/wp-all-import/models/import/record.php)
    Can you help?
    Thanks

    Plugin Author Devtard

    (@devtard)

    Hi, unfortunately I don’t have access to the source code of this plugin; try contacting its developers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘APT doesn't work with WP ALL IMPORT’ is closed to new replies.