Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Use shortcode.

    1. First under the plugin WooCommerce > Templates > Loop find the file “result-count.php” and under your theme / child theme create directionaries (if not) WooCommerce and under WooCommerce direcionary new directionay named as Loop.
    2. Copy result-count.php and paste it under your theme WooCoomerce > Loop directionary (path should be your_theme/woocommerce/loop/result-count.php. Now all changes what made in your theme WooCommerce > Loop > result-count.php file, will be overwrite original WooCommerce file.
    3. Now open the “result-count.php” file and before “<p class=”woocommerce-result-count” ...” add the following code:

    <?php
    if ((is_shop() or is_product_category()) && wp_is_mobile())
    {
    echo do_shortcode('[fe_chips mobile="yes"]');
    echo do_shortcode('[fe_widget]');
    }
    ?>

    Refresh page on mobile device. This will display filters and filter presets on mobile devices and shop / product category pages.

    • This reply was modified 9 months, 1 week ago by ranka.
    • This reply was modified 9 months, 1 week ago by ranka.
    Thread Starter ranka

    (@ranka)

    I think I solved it.

    1. Open the File: Plugins > Woo Cart Abandonment Recovery > Modules > cart-abandonment/class-cartflows-ca-cart-abandonment.php
    2. Go to line 1384 and find: $checkout_url = get_permalink( $post_id ) . ‘?wcf_ac_token=’ . $token;
    3. Comment the line out.
    4. Add the following: $checkout_url = ‘XXX://example.com/cart/?wcf_ac_token=’ . $token;

    Replace: XXX://example.com/cart/ to your site’s cart’s exact aadress (including http or https instead of XXX).

    • This reply was modified 5 years, 6 months ago by ranka.
    • This reply was modified 5 years, 6 months ago by ranka.
    • This reply was modified 5 years, 6 months ago by ranka.
    • This reply was modified 5 years, 6 months ago by ranka.
    • This reply was modified 5 years, 6 months ago by ranka.
    • This reply was modified 5 years, 6 months ago by ranka.
    • This reply was modified 5 years, 6 months ago by ranka.
    • This reply was modified 5 years, 6 months ago by ranka.

    Also I add screenshot what shows how randomly expirator works. (my cron job runs each day: 00.05, 06.05, 12.05 and 18.05).

    https://i.gyazo.com/38512aca26a421928a43d60d9b416d46.png

    (safe link, gyazo screenshot). On the screenshot its easily to see, sometimes posts expire 12.05, or 06.05, or 18.05 or 00:05. But all posts expiration date is set to each day 23:59.

    I am just running cron every 6 hours. Switched to server side cron job from WordPress cron this first week of January. Befored used WP standard cron and still didn’t work.

    Also I have tried switched back to WordPress standard cron but still not working or working randomly. Sometimes work, sometimes not and it begun 2019. Befored worked as charm.

    My PHP version: Running PHP version: 7.1.22

    Also note. Plugin works randomly. I run CRON four times per day (00:05, 06:05, 12:05, 18:05) and most of my posts should expire each day 23:59.

    So each day first cronjob which trigger at 00:05 should expire previous day post(s) and update these posts categories. Sometimes first cronjob (00:05) works, sometimes not, and posts expiring takes efect 2nd, 3rd, 4th daily cronjob or even later.

    I can’t find any pattern. It looks totally random to me – sometimes posts expire at first cronjob, sometimes it takes 10 cronjobs to expire posts.

    Also if I disable/re-enable plugin, then first (only worst) cronjob and post expiration works 100% of the time, after that it’s random (working or not)

    UPDATE2: If I disable post expirator plugin and enable it, then first time it will work as it should. But next time it won’t. Maybe it will help to track down bug.

    UPDATE: disabled all plugins but post expirator – its worked sometimes and sometimes didnt. then tried to disable one by one. the same pattern. then disabled again all plugins and enabled one by one, and the same problem.

    Then enabled all plugins. Again it worked like a charm first time, but then again didnt work. Looks like problem is deeper, and at some reason post expirator not activating 🙁

    Any ideas or follow up? I also note that I haven’t updated my WP to 5.0.3 yet. Still using 4.9.9. Later that night I will disable all plugins, and check maybe some updated plugin cause conflict.

    • This reply was modified 7 years, 4 months ago by ranka.

    Did 3 different posts (3 different days) to help read debug logs.

    2019-01-14 11:09:06 138210 -> SCHEDULED at Thu, 31 Jan 2019 21:59:00 +0000 (1548971940) with options Array ( [expireType] => category-remove [id] => 138210 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 11:09:06 138210 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 11:08:59 138210 -> SCHEDULED at Thu, 31 Jan 2019 21:59:00 +0000 (1548971940) with options Array ( [expireType] => category-remove [id] => 138210 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 11:08:59 138210 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 11:07:50 138155 -> SCHEDULED at Thu, 31 Jan 2019 21:59:00 +0000 (1548971940) with options Array ( [expireType] => category-remove [id] => 138155 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 11:07:50 138155 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 11:05:24 138255 -> SCHEDULED at Thu, 31 Jan 2019 21:59:00 +0000 (1548971940) with options Array ( [expireType] => category-remove [id] => 138255 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 11:05:24 138255 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 11:02:51 138264 -> SCHEDULED at Sun, 20 Jan 2019 21:59:00 +0000 (1548021540) with options Array ( [expireType] => category-remove [id] => 138264 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:50:39 138188 -> SCHEDULED at Mon, 14 Jan 2019 21:59:00 +0000 (1547503140) with options Array ( [expireType] => category-remove [id] => 138188 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:50:39 138188 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 10:50:28 25021 -> SCHEDULED at Mon, 14 Jan 2019 21:59:00 +0000 (1547503140) with options Array ( [expireType] => category-remove [id] => 25021 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:50:10 138188 -> SCHEDULED at Mon, 14 Jan 2019 21:59:00 +0000 (1547503140) with options Array ( [expireType] => category-remove [id] => 138188 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:49:43 13829 -> SCHEDULED at Sun, 20 Jan 2019 21:59:00 +0000 (1548021540) with options Array ( [expireType] => category-remove [id] => 13829 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:49:43 13829 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 10:49:29 13829 -> SCHEDULED at Sun, 20 Jan 2019 21:59:00 +0000 (1548021540) with options Array ( [expireType] => category-remove [id] => 13829 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:44:20 138249 -> SCHEDULED at Sun, 13 Jan 2019 21:59:00 +0000 (1547416740) with options Array ( [expireType] => category-remove [id] => 138249 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:44:20 138249 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 10:44:16 138205 -> SCHEDULED at Sun, 13 Jan 2019 21:59:00 +0000 (1547416740) with options Array ( [expireType] => category-remove [id] => 138205 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:44:16 138205 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 10:44:11 138200 -> SCHEDULED at Sun, 13 Jan 2019 21:59:00 +0000 (1547416740) with options Array ( [expireType] => category-remove [id] => 138200 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:44:11 138200 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 10:44:07 21509 -> SCHEDULED at Sun, 13 Jan 2019 21:59:00 +0000 (1547416740) with options Array ( [expireType] => category-remove [id] => 21509 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:44:07 21509 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 10:43:54 138195 -> SCHEDULED at Sun, 13 Jan 2019 21:59:00 +0000 (1547416740) with options Array ( [expireType] => category-remove [id] => 138195 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:43:54 138195 -> EXISTING FOUND – UNSCHEDULED
    2019-01-14 10:43:46 138184 -> SCHEDULED at Sun, 13 Jan 2019 21:59:00 +0000 (1547416740) with options Array ( [expireType] => category-remove [id] => 138184 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-14 10:43:46 138184 -> EXISTING FOUND – UNSCHEDULED

    2019-01-15 05:03:31 138210 -> SCHEDULED at Thu, 31 Jan 2019 21:59:00 +0000 (1548971940) with options Array ( [expireType] => category-remove [id] => 138210 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-15 05:03:31 138210 -> EXISTING FOUND – UNSCHEDULED
    2019-01-15 05:01:35 138255 -> SCHEDULED at Thu, 31 Jan 2019 21:59:00 +0000 (1548971940) with options Array ( [expireType] => category-remove [id] => 138255 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-15 05:01:35 138255 -> EXISTING FOUND – UNSCHEDULED
    2019-01-15 04:57:47 5767 -> SCHEDULED at Sat, 19 Jan 2019 15:00:00 +0000 (1547910000) with options Array ( [expireType] => category-remove [id] => 5767 [category] => Array ( [0] => 1358 [1] => 1881 ) [categoryTaxonomy] => category )
    2019-01-15 04:52:27 25021 -> SCHEDULED at Mon, 14 Jan 2019 21:59:00 +0000 (1547503140) with options Array ( [expireType] => category-remove [id] => 25021 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-15 04:52:27 25021 -> EXISTING FOUND – UNSCHEDULED
    2019-01-15 04:52:24 138188 -> SCHEDULED at Mon, 14 Jan 2019 21:59:00 +0000 (1547503140) with options Array ( [expireType] => category-remove [id] => 138188 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-15 04:52:24 138188 -> EXISTING FOUND – UNSCHEDULED

    Timestamp Message
    2019-01-16 01:00:20 25021 -> CATEGORIES COMPLETE Array ( [1] => Kampaaniad )
    2019-01-16 01:00:20 25021 -> CATEGORIES REMOVED Array ( [1358] => Aktiivne )
    2019-01-16 01:00:20 25021 -> PROCESSED category-remove Array ( [expireType] => category-remove [id] => 25021 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-16 01:00:20 138188 -> CATEGORIES COMPLETE Array ( [1] => Kampaaniad )
    2019-01-16 01:00:20 138188 -> CATEGORIES REMOVED Array ( [1358] => Aktiivne )
    2019-01-16 01:00:20 138188 -> PROCESSED category-remove Array ( [expireType] => category-remove [id] => 138188 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-16 01:00:20 138249 -> CATEGORIES COMPLETE Array ( [1] => Kampaaniad [808] => Tasuta Spinnid )
    2019-01-16 01:00:20 138249 -> CATEGORIES REMOVED Array ( [1358] => Aktiivne )
    2019-01-16 01:00:20 138249 -> PROCESSED category-remove Array ( [expireType] => category-remove [id] => 138249 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-16 01:00:19 138205 -> CATEGORIES COMPLETE Array ( [1] => Kampaaniad )
    2019-01-16 01:00:19 138205 -> CATEGORIES REMOVED Array ( [1358] => Aktiivne )
    2019-01-16 01:00:19 138205 -> PROCESSED category-remove Array ( [expireType] => category-remove [id] => 138205 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-16 01:00:19 138200 -> CATEGORIES COMPLETE Array ( [1] => Kampaaniad )
    2019-01-16 01:00:19 138200 -> CATEGORIES REMOVED Array ( [1358] => Aktiivne )
    2019-01-16 01:00:19 138200 -> PROCESSED category-remove Array ( [expireType] => category-remove [id] => 138200 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-16 01:00:19 21509 -> CATEGORIES COMPLETE Array ( [1] => Kampaaniad )
    2019-01-16 01:00:19 21509 -> CATEGORIES REMOVED Array ( [1358] => Aktiivne )
    2019-01-16 01:00:19 21509 -> PROCESSED category-remove Array ( [expireType] => category-remove [id] => 21509 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-16 01:00:19 138195 -> CATEGORIES COMPLETE Array ( [1] => Kampaaniad )
    2019-01-16 01:00:19 138195 -> CATEGORIES REMOVED Array ( [1358] => Aktiivne )
    2019-01-16 01:00:19 138195 -> PROCESSED category-remove Array ( [expireType] => category-remove [id] => 138195 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )
    2019-01-16 01:00:19 138184 -> CATEGORIES COMPLETE Array ( [1] => Kampaaniad )
    2019-01-16 01:00:19 138184 -> CATEGORIES REMOVED Array ( [1358] => Aktiivne )
    2019-01-16 01:00:19 138184 -> PROCESSED category-remove Array ( [expireType] => category-remove [id] => 138184 [category] => Array ( [0] => 1358 ) [categoryTaxonomy] => category )

    Still 2019 posts not expiring 🙁

    Hi!

    Looks like I have the same problem. Posts not expiring anymore 🙁

    Anyone know the fix or Aaron could you helps us? Or Julien you found a solution?

    • This reply was modified 7 years, 4 months ago by ranka.

    Downgrade fixed the problem. Let us know if new patch is released.

Viewing 15 replies - 1 through 15 (of 17 total)