• Resolved eyewayonline

    (@eyewayonline)


    Hello there,
    After adding item to the cart, it stick to it.
    After removing the item from the cart, It stays in the cart after the page is refreshed.
    To understand issue better, please refer the Video

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Most likely the issue is that your server response time is too slow and so the service worker is intercepting the response after the 2-second timeout.

    You can adjust the timeout using the filter code described in the documentation.

    Namely:

    add_filter( 'wp_service_worker_navigation_caching', static function ( $config ) {
    	$config['network_timeout_seconds'] = 5;
    	return $config;
    } );
    Thread Starter eyewayonline

    (@eyewayonline)

    Thanks @westonruter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Item in cart is not getting removed’ is closed to new replies.