Enable Mobile Bottom Panel on Cart Page - by Benz

This topic has 5 replies, 2 voices, and was last updated 1 weeks, 6 days ago ago by Benz

  • Avatar: Benz
    Benz
    Participant
    June 5, 2025 at 14:51

    Dear XStore Support Team,

    I’ve noticed that the mobile bottom panel (et-mobile-panel-wrapper) is hidden by default on both the cart and checkout pages in the XStore theme.

    However, I would like the mobile panel to appear on the cart page only, while keeping it hidden on the checkout page.

    Could you please advise the best way to enable the mobile panel on the cart page? I’m happy to apply a code snippet or use a child theme override if needed.

    Thank you in advance for your support!

    Best regards,

    4 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 5, 2025 at 15:27

    Hello @Benz
    Please, check next reply -> https://www.8theme.com/topic/the-mobile-panel-sometimes-disappear-when-i-move-to-another-page/#post-442103.
    Kind regards, Jack Richardson
    The 8theme’s team

    Avatar: Benz
    Benz
    Participant
    June 5, 2025 at 15:59

    Thank you very much for your prompt reply.

    The following code will display only cart page. is this correct?

    add_action( 'init', function () {
        if ( apply_filters( 'xstore_theme_amp', false ) ) {
            return;
        }
    
        add_action( 'after_page_wrapper', function() {
            if (
                defined('ET_CORE_DIR') &&
                get_query_var('et_is-cart-page-elementor-shortcode', false)
            ) {
                require( ET_CORE_DIR . 'app/models/customizer/templates/mobile-panel/mobile-panel.php' );
            }
        }, 1 );
    });

    please advise

    Avatar: Benz
    Benz
    Participant
    June 5, 2025 at 18:44

    it works now . Thanks

    Avatar: Benz
    Benz
    Participant
    June 5, 2025 at 18:44

    Thanks for the support! My topic “Enable Mobile Bottom Panel on Cart Page” has been successfully resolved.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Enable Mobile Bottom Panel on Cart Page’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.