Mix and match product page disappears after a short scrolling length

This topic has 4 replies, 2 voices, and was last updated 11 months ago ago by Rose Tyler

  • Avatar: G_Fresh Australia
    G_Fresh Australia
    Participant
    December 19, 2023 at 23:37

    Mix and match product page disappears after a short scrolling length due to sticky cart footer, adding the following code to custom css seems to correct it.
    .etheme-sticky-cart {
    display: none;
    }

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 20, 2023 at 08:47

    Hello, G_Fresh Australia,

    We appreciate you reaching out to us and for choosing XStore for your needs.

    To assist you further, may we kindly request that you provide us with the URL of the page where you are experiencing the issue? Additionally, if you could grant us temporary access to your WordPress admin, it would enable us to investigate the matter more thoroughly.

    We look forward to your response and are here to ensure a swift resolution to your concern.

    Kind Regards,
    8theme team

    Avatar: G_Fresh Australia
    G_Fresh Australia
    Participant
    December 20, 2023 at 23:42

    Thank you for the reply,
    an affected url is https://staging.saspice.com.au/product/the-sous-chef-4-tier-rustic-light-spice-rack-full/ A short scroll will show the page disapearing.

    The authors of Mix and Match have already determined that Sicky Cart is the issue – it seems to be attempting to add the entire mix and match contents to the cart.
    They have provided the below code as a solution to hide sticky cart on mix and match products,

    /**
    * Add body classes for Product types.
    *
    * @param array $classes Body Classes.
    * @return array
    */
    function wc_mnm_body_class( $classes ) {
    if ( is_singular( ‘product’ ) ) {
    global $post;
    $taxonomy_terms = get_the_terms( $post->ID, ‘product_type’ );
    if ( $taxonomy_terms ) {
    foreach ( $taxonomy_terms as $taxonomy_term ) {
    $classes[] = ‘product-type-‘ . $taxonomy_term->slug;
    }
    }
    }
    return $classes;
    }
    add_filter( ‘body_class’, ‘wc_mnm_body_class’ );
    As well as a CSS snippet to partner with it:
    .product-type-mix-and-match .etheme-sticky-cart {
    display: none !important;
    }

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 21, 2023 at 08:58

    Hello, G_Fresh Australia,

    We appreciate your prompt response.

    Please note that we do not give a guarantee for full theme compatibility with all existing 3rd party plugins. Sometimes, but not always, you need additionally customize the theme or plugin to make them work together. Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our basic support.

    You can disable the Sticky cart via Theme Options, in this case, custom CSS code is not needed, or you may use the next code:

    .etheme-sticky-cart .mnm_table,
    .etheme-sticky-cart .mnm_form {
        display: none !important;
    }

    the result will be – https://prnt.sc/g1jYjm0-_tB2

    We trust that the information provided will be of significant assistance to you.

    Kind Regards,
    8theme team

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

You must be logged in to reply to this topic.Log in/Sign up

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