Support » Plugin: Free Downloads WooCommerce » Error message when displaying products in a carousel

  • Resolved Yael Shahar


    I’m getting the following error message when displaying products in a carousel:

    Warning: Missing argument 3 for somdn_download_owned_price_badge() in [path / somnd_woofunctions.php on line 400.

    This appears below the product image for all products that *do not* have a free download. I’ve disabled the plugin for now. If this can be fixed, I’ll re-enable it. If not, I’ll have to look for a different solution.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Richard Webster


    Argument 3 is the product itself, which shouldn’t be missing if it’s being called by the WooCommerce loop. Is this a custom carousel you’re using?

    If you want to remove this feature because it’s not compatible with whatever else you’re doing, put this code somewhere:

    remove_action( 'woocommerce_sale_flash' , 'somdn_download_owned_price_badge', 150 );

    Thread Starter Yael Shahar


    Thanks! I was using a free carousel plugin. I’ve since switched to a different one, and that one seems to be working without the error. But I’ll try adding your code to functions and see if that resolves the problem with the first carousel.

    Plugin Author Richard Webster


    Awesome mate!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error message when displaying products in a carousel’ is closed to new replies.