Searching for a product gives error - by Sheine

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

  • Avatar: Sheine
    Sheine
    Participant
    October 16, 2019 at 15:01

    Hi,

    when i am searching for a product in the search bar: for example ‘bla’ and then press enter, an error occurs:

    Warning: in_array() expects parameter 2 to be array, null given in /home/meenemen/public_html/paxtertravelstore.nl/wp-content/themes/xstore/woocommerce/archive-product.php on line 99

    Warning: in_array() expects parameter 2 to be array, null given in /home/meenemen/public_html/paxtertravelstore.nl/wp-content/themes/xstore/woocommerce/archive-product.php on line 119

    Please advise how to fix this error.

    Kind regards,

    Sven Heinen

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 16, 2019 at 15:13
    Avatar: Sheine
    Sheine
    Participant
    October 16, 2019 at 15:17

    Hi,

    this fixed it. I checked for updates but did not see any available.

    Do you know how to fix the white background when hovering some products?
    For example when searching for AMS:
    https://www.paxtertravelstore.nl/?s=ams&post_type=product&product_cat=0

    The ‘Sierkussen’ and ‘ Fleece Deken’ product show a white background when hovering.
    Why is this not on every product? I don’t want the white background.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 16, 2019 at 15:28

    Hello,

    For some of the products you uploaded images in the gallery – http://prntscr.com/pk49qd , together with swap effect (Theme Options > WooCommerce (Shop) > Shop > Products style >
    Image Hover Effect), it gives such effect.
    Add this code in Theme Options > Custom CSS > Global custom CSS:

    .content-product .image-swap {
        background-color: transparent;
    }

    Please note that it is not recommended to add in the gallery the same image as a featured one.

    Regards

    Avatar: Sheine
    Sheine
    Participant
    October 16, 2019 at 17:54

    Dear Rose,

    thanks for the support.

    Do you know how the ‘recently viewed products’ can be showed per 2 products on mobile view? Can i find the options somewhere? right now it is only showing 1 product at a time, while the related products is showing 2 products on screen. This looks weird.

    Avatar: Sheine
    Sheine
    Participant
    October 16, 2019 at 18:34

    And how do i disable tooltips on the website or where can i change the text? The tooltips are showing in English while my website is in Dutch. Is this in the loco translate plugin?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 17, 2019 at 07:17

    Hello,

    You’re welcome!
    1) Go to edit your “Recently Viewed” static block > [8THEME] Products Settings > Slider settings > Number of slides.
    2) Please provide a screenshot of the tooltip.
    You can use Lightshot screenshot tool https://app.prntscr.com/en/index.html to share screenshots, it creates a link to the image and you will just send us that link.

    Regards

  • Viewing 7 results - 1 through 7 (of 7 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.