Side-cart & cookie warning - by Manu G

This topic has 6 replies, 3 voices, and was last updated 4 years ago ago by Olga Barlow

  • Avatar: Manu G
    Manu G
    Participant
    February 15, 2021 at 10:49

    We have these 2 issues:

    1)We want to know if there is a way (maybe a hook or a template), that we can change the way product quantities appear in the side-cart / mini-cart ?
    2)We have the following warning considering the cookie notice plugin. Is there a possible fix?

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Cookie_Notice’ does not have a method ‘add_cookie_notice’ in /home/customer/www/telaraki.com/public_html/wp-includes/class-wp-hook.php on line 287

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 15, 2021 at 11:46

    Hello,

    1. Please describe your goal in more detail.
    2. It will be fixed in the next theme update. As a temporary solution, downgrade the plugin version – https://www.8theme.com/topic/whats-mean-warning-call_user_func_array-expects-parameter-1-to-be-a-valid/

    Regards

    Avatar: Manu G
    Manu G
    Participant
    February 15, 2021 at 13:10

    Hello there,

    Please see the attached screenshot below to understand what we want to change (see underlined).

    https://snipboard.io/wngVic.jpg

    Thanks in advance.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 15, 2021 at 14:01

    Hello,

    Thanks for the screenshot.
    What is the desired result of changes there?
    Your site under maintenance mode, so we can’t check it. Provide temporary wp-admin access, please.

    Regards

    Avatar: Manu G
    Manu G
    Participant
    February 15, 2021 at 17:21

    We want to change it on the fly. It currently displays grams but we want to display kg (we’ll do qty/1000).

    In order to avoid changing it with JS, we would like to know if it can be changed using PHP & hook(s), or templates/child theme?

    Site should be accessible now.

    Thanks,

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    February 15, 2021 at 19:30

    Hello,

    You can find etheme_cart_items fundtion in the xstore/framework/woo.php copy this function to child theme and edit it according to your needs to change mini-cart content.
    If you need help with additional customization you can submit customization request here.

    Regards

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

The issue related to '‘Side-cart & cookie warning’' has been successfully resolved, and the topic is now closed for further responses

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