• Resolved sports

    (@sportswing)


    Hello,

    1)Wishlist page is not displaying uniformly in Mobile view , please check it from mobile phone itself. Screenshot: https://prnt.sc/15iqw7w.
    2)when we click on wishlist icon it is not adding products to wishlist immediately, it is taking 5sec of time. Please make it to add within 2secs.
    Please reply me as early as possible

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Antonio La Rocca

    (@therock130)

    Hi there

    1. Please, try to add the following snippet of code at the end of functions.php file of your theme or child theme

    add_filter( 'yith_wcwl_is_wishlist_responsive', '__return_false' );
    

    This will disable mobile template, and use default one (same as for desktop)

    2. I’m sorry to hear that ATW process runs slow on your installation, but I’m afraid, unless there is some specific error, it is very hard for me to help you on this one

    I could suggest you to consider moving to a better hosting, to obtain performance, or take a step back to analyze overall application with tools as NewRelic, to understand what slows down te process

    Thread Starter sports

    (@sportswing)

    Hi,

    add_filter( ‘yith_wcwl_is_wishlist_responsive’, ‘__return_false’ )

    Tried by adding above code. Page shows normally after adding this code, but again it will become improper if we remove one product from the wishlist.
    screenshot: https://prnt.sc/161ahpz .
    Please help me with this.

    best regards,

    yay!
    I went to :
    yith-woocommerce-wishlist\yith-woocommerce-wishlist\includes\class.yith-wcwl-frontend.php
    and found this :
    'is_wishlist_responsive' => apply_filters( 'yith_wcwl_is_wishlist_responsive', true ),
    and changed the true to false

    and it works. although I deleted all the other mobile parts from the plugin.

    Dear YITH, plz put a switch on admin menu for mobile view …
    I really hate the AJAX switch in the Wishlist page…

    • This reply was modified 3 years, 8 months ago by parisaaxp. Reason: forgot to add the CODE tag
    Plugin Support Antonio La Rocca

    (@therock130)

    @sportswing I tried my solution on a local installation, and template didn’t switch even when I removed a product from the list
    Can you share an url where I can test this issue?

    @parisaaxp We’ll consider to add ano option in the future
    Anyway Please, note that the code that I suggested in my previous answer does exactly what you did, by using the filter that you can see in the code that you quoted
    This has the same effect, won’t require you to change the plugin code, and will survive any future update, so I just suggest you to use my solution

    Thread Starter sports

    (@sportswing)

    Can you share an url where I can test this issue?>>>

    Link: https://www.sportswing.in/wishlist/

    Add some products to wishlist and try to remove that product, there you will find the issue (please test it in Phone).

    Plugin Support Antonio La Rocca

    (@therock130)

    Hi @sportswing

    I can replicate the issue indeed; anyway, I don’t have the same behaviour locally
    May I ask you if you applied the snippet of code at the end of functions.php file of your theme as I suggested, or if you added it using some other mean?

    Thread Starter sports

    (@sportswing)

    Hi,

    Added using snippets plugin.

    Plugin Support Antonio La Rocca

    (@therock130)

    That’s most probably the cause of the problem; I suppose that plugin loads the snippet on frontend, but it doesn’t on backend
    This means that when you reload wishlist template via ajax, it won’t have any effect

    Please, follow the instructions that I listed, and place the snippet in theme’s functions.php file
    If this works, we can exclude any problem with the snippet, and you can think of how more appropriately place it in your project

    Thread Starter sports

    (@sportswing)

    Hi,

    Your right it works well now. But just changed option from “Only run on site front-end” to “Run snippet everywhere” in plugin instead of adding code to theme’s function file.

    Thread Starter sports

    (@sportswing)

    Hi,

    In mobile view, thumbnail image is not displaying (In Whishlist Page). I would like to display thumbnail images like in desktop view. Please help with this.

    Screenshot:https://prnt.sc/16mkvsn

    Thread Starter sports

    (@sportswing)

    Hi,

    In mobile view, thumbnail image is not displaying (In Whishlist Page). I would like to display thumbnail images like in desktop view. Please help with this.>>>

    It is resolved by adding some custom CSS.

    Thank you so much… I really appreciate your help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Wishlist page in mobile is not displaying properly’ is closed to new replies.