Multiple messages are coming in cart page

This topic has 10 replies, 2 voices, and was last updated 1 months, 3 weeks ago ago by Luca Rossi

  • Avatar: chander
    JiPanditJI
    Participant
    October 28, 2024 at 05:21

    Please see the attachd imagem while adding product to the cart, Multiplese messages are coming, we want to remove that

    Files is visible for topic creator and
    support staff only.
    9 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    October 29, 2024 at 05:48

    Dear @JiPanditJI,

    We hope this message finds you well.

    We would like to inform you that we have updated the Cart element, and the issue with multiple messages has now been resolved.

    Could you kindly review the changes at your convenience and confirm if everything is functioning as expected?

    Thank you for your time and assistance.

    Best regards,
    8Theme Team.

    Avatar: chander
    JiPanditJI
    Participant
    November 1, 2024 at 07:59

    I am still getting the messages, please chek and advise

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    November 1, 2024 at 11:42

    Dear @JiPanditJI,

    We hope this message finds you well.

    Kindly navigate to the WooCommerce Shipping settings and uncheck the following option:

    [Link: https://prnt.sc/XSy36FGFExjg%5D

    We hope this resolves the issue. Should you require any further assistance, please do not hesitate to reach out.

    Best regards,
    8Theme Team

    Avatar: chander
    JiPanditJI
    Participant
    November 2, 2024 at 08:55

    the screenshot is not visible, and we are still getting the messages , please see the screenshot attached.

    please advise how to customise these messages

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    November 2, 2024 at 09:02

    Hi @JiPanditJI,

    Here is the correct link: https://prnt.sc/XSy36FGFExjg.

    the screenshot is not visible, and we are still getting the messages , please see the screenshot attached.

    please advise how to customise these messages

    Please switch the default theme(like Storefront,…) if you think, they’re an issue.

    As your screenshot, the message appears after you apply a coupon code.

    Best regards,
    8Theme Team

    Avatar: chander
    JiPanditJI
    Participant
    November 2, 2024 at 09:26

    Why to switch to default theme when I am building the site on Xstore ?
    I did not get you.
    No the message is coming after adding the product to the cart

    Avatar: Justin
    Luca Rossi
    Support staff
    November 2, 2024 at 19:08

    Hi @JiPanditJI,

    We meant switching to default theme for testing the multiple messages error. To make sure this issue is coming from XStore theme or not.

    And please tell us how can we reproduce this issue. This is how the cart looks after we added a product to cart: https://www.awesomescreenshot.com/video/33199729?key=cbf6d3e3aaadb0276870503dd5c8688b

    Thank you!

    Avatar: chander
    JiPanditJI
    Participant
    November 3, 2024 at 03:01

    There was a message coming cart updated, how to customize that message with our own color and text. Also while adding the product with some offer and discount, discount message and notification also comes up, we want to customize that as well

    Avatar: Justin
    Luca Rossi
    Support staff
    November 3, 2024 at 14:38

    Hi @JiPanditJI,

    Please try adding this code under functions.php file locates in your child theme:

    
    add_filter('gettext', 'wpse_124400_woomessages', 10, 3);
    
    /**
    * change some WooCommerce labels
    * @param string $translation
    * @param string $text
    * @param string $domain
    * @return string
    */
    function wpse_124400_woomessages($translation, $text, $domain) {
        if ($domain == 'woocommerce') {
            if ($text == 'Cart updated.') {
                $translation = 'Basket updated.';
            }
        }
    
        return $translation;
    }
    

    To change the color, please add this custom CSS code under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    .woocommerce-message {
        background-color: red;
    }
    

    Hope it helps!

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

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

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