Support » Plugin: WooCommerce Advanced Free Shipping » Free Shipping Category Limitation

  • Resolved Inndesign

    (@inndesign)


    The plugin is very well developed, however, it falls short of doing what it needs to do.

    When a category is selected for free shipping, if a category item is added to the cart, Free Shipping does appear. But when another item is added to the cart, the free shipping is canceled, resulting in the full shipping price originally assigned to that category.

    The PHP code needs to include a rule, if other out-of-category items are added to the cart when a free shipping category is present, that category item retains its free shipping status.

    Thanks for your efforts!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Inndesign

    (@inndesign)

    After installation of your plugin, my website incurred crippling error details.
    =============

    An error of type E_ERROR was caused in line 451 of the file /home/hookone/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php. Error message: Uncaught InvalidArgumentException: Unidentified action 87801 in /home/hookone/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:451
    Stack trace:
    #0 /home/hookone/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(120): ActionScheduler_DBStore->cancel_action(87801)
    #1 /home/hookone/public_html/wp-content/plugins/woocommerce-follow-up-emails/includes/sending/class-fue-sending-scheduler.php(1131): as_unschedule_action('sfn_followup_em...', Array, 'fue')
    #2 /home/hookone/public_html/wp-content/plugins/woocommerce-follow-up-emails/includes/sending/class-fue-sending-scheduler.php(828): FUE_Sending_Scheduler->unschedule_email('8548')
    #3 /home/hookone/public_html/wp-content/plugins/woocommerce-follow-up-emails/includes/addons/class-fue-addon-woocommerce-scheduler.php(86): FUE_Sending_Scheduler->delete_item('8548')
    Plugin Author Jeroen Sormani

    (@sormano)

    Hi,

    The ‘category’ condition requires all products in the cart to have the given category before the condition matches. So if there are two or more products in the cart with different categories, the rate won’t show up.

    Instead you can try the ‘Contains shipping class’ condition, which does allow for other products to be in the cart at the same time.

    The error does not seem to indicate its coming from this plugin. Are you able to narrow it down?

    Cheers,
    Jeroen

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.