ALSO, we get this error for Bundled Products: Fatal error: Ankit\WCSSC\Frontend\Cart::main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "WC_Product_Bundle" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /home/customer/www/staging36.farmchem.com/public_html/wp-content/plugins/woo-save-and-share-cart/templates/single-saved-cart.php on line 39
I was able to show the tab with this code for now, but it still shows that error for bundled products. THX for building this plugin! It’s been great otherwise.
/** Add New Tab for Saved Carts on my Account Page from Share and Save Cart Plugin*/
add_filter( ‘woocommerce_account_menu_items’, ‘add_saved_carts_tab’ );
function add_saved_carts_tab( $items ) {
$items[‘saved-carts’] = ‘Saved Carts’;
return $items;
}`