Fix zero cart bug

This topic is: Resolved
  • Resolved
    Posted in: Feature request  
  • NPetrus
    #107856

    Permanent error for guest after adding a 0 item to cart.

    About product: Has tm extra product options but no way to get over $0
    Steps: Select options where price = $0 > Add to cart > Error message shows > Refresh page and see wordpress error message. No way to get rid of it for that user without clearing all woocommerce carts

    Errors:
    #0 /home/customer/www/xxx.com/public_html/wp-content/plugins/woocommerce-tm-extra-product-options/include/classes/class-tm-epo-cart.php(985): THEMECOMPLETE_EPO_Cart->add_cart_item(Array, 'ec0aae9dbd99f72...')
    #1 /home/customer/www/xxx.com/public_html/wp-includes/class-wp-hook.php(307): THEMECOMPLETE_EPO_Cart->woocommerce_get_cart_item_from_session(Array, Array, 'ec0aae9dbd99f72...')
    #2 /home/customer/www/xxx.com/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
    #3 /home/customer/www/xxx.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(163): apply_filters('woocommerce_get...', Array, Array, 'ec0aae9dbd99f72...')
    #4 /home/customer/www/xxx.com/public_html/wp-content/plugins/woocomm in /home/customer/www/xxx.com/public_html/wp-content/plugins/woocommerce-tm-extra-product-options/include/classes/class-tm-epo-cart.php on line 793

    #4 was not cut off, that is the full error message where it states plugins/woocomm and cuts off.

    Version 5.1

    ThemeCompleteSite Admin
    #108650
    You must be logged in to see this reply.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

No access!

You do not have permission to post to this forum.