Reply 355654 to: changing the button on the product archive page

Avatar: Rose Tyler
Rose Tyler
Support staff
May 5, 2023 at 10:19

Hello, Amy V,

1/ We’ve added the next code:

add_action( 'wp', function() {
    if ( get_query_var('et_is-woocommerce-archive', false) ) {
        add_action( 'woocommerce_before_shop_loop', function() {
            if ( get_theme_mod( 'top_toolbar', 1 ) && !wc_get_loop_prop( 'is_shortcode' ) ) {
                etheme_enqueue_style('filter-area', true ); ?>
                <div class="filter-wrap">
                    <div class="filter-content">
            <?php }
        }, 0 );

        add_action( 'woocommerce_before_shop_loop', function() {
            if ( get_theme_mod( 'top_toolbar', 1 ) && !wc_get_loop_prop( 'is_shortcode' ) ) { ?>
                    </div>
                </div>
            <?php }
        }, 45 );
    }
}, 70);

in functions.php of your child theme.

2/ About buttons on the Shop page, currently they have a different font to your screenshot. Have you solved it?

3/ We’ve disabled “Header Sticky” for Cart/Checkout Layout via Theme Options. Please check the Thank you page header now.

Kind Regards,
8theme team

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.