• Resolved bygchyll

    (@bygchyll)


    Hi,

    Why has SureCart deprecated the tabbed customer dashboard module? It was a game changer for me. Can I still create a tabbed customer dashboard, somehow?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Adam @ WPCrafter

    (@wpcrafter)

    Really sorry about that. The block caused many many support issues because it was not being used as intended.

    We do have a code snippet you can add to your site to bring it back.

    add_filter(
        'block_type_metadata',
        function( $metadata ) {
            if ( 'surecart/customer-dashboard' ==         $metadata['name'] ) {
                $metadata['supports']['inserter'] = true;
            }
            return $metadata;
        }
    );
    
    Thread Starter bygchyll

    (@bygchyll)

    Thanks Adam. This code brought it back. Great!

    • This reply was modified 1 year, 1 month ago by bygchyll.
    Plugin Contributor Adam @ WPCrafter

    (@wpcrafter)

    Awesome, happy to hear that. Thanks for being a SureCart user.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tabbed Customer Dashboard — Deprecated’ is closed to new replies.