• Hi,
    there is a button on the wishlist page, pointing to the product which says “compar”. I am unable to translate this. Where is it coming from? I would like the button to remain there but translated.

    Also if you click on remove item, a spinner is loaded which will never disappear. after a reload the product is successfully removed. This might be an issue with my template but you might also have a solution for that?

    regards and many thanks

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    Regarding the “remove from wishlist” error, I can see that this comes from a JS error, generating in un autoptimize js file
    This is probably a condensed js file generated by the plugin, so my suggestion is to turn off js optimization by autoptimize and see if this solves the problem

    Regarding the Add to Cart button in the wishlist, you should be able to change label shown for it under WP Dashboard -> YITH -> Wishlist -> Wishlist Page Options -> Text Customizations -> “Add to Cart” text

    pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.

    if the problem is not there at that point, some autoptimize (re-)configuration might be needed to fix this. there are troubleshooting tips and info on how to exclude in the AO FAQ.

    hope this helps debugging,
    frank (ao dev)

    Thread Starter bahijach

    (@bahijach)

    Hi,
    thank’s for your support here.

    Add to Cart button:
    The Setting is changed to “Einkaufen” but doesen’t work on the page!?

    Remove from Wishlist:
    I deactivated the autoptimize Plugin and I still have the issue =(

    Regards

    Plugin Author YITHEMES

    (@yithemes)

    Hi Frank, thank you for your suggestions, really appreciated

    @bahijach

    Add to Cart button:
    This is probably caused by a theme customization; try to search for wishlist.php or wishlist-view.php templates in your theme folder, under root path or in /woocommerce subpath

    If you find them, rename them respectively to wishlist.php.bak and wishlist-view.php.bak, and let me know if this solves

    Remove from Wishlist:
    Now that we can exclude any problem caused by the js compression, we can proceed further with debugging
    I had the chance to give a good look at removal process, and it seems that something weird is happening on your site: wishlist request fragments update, but content returned via AJAX is formatted in an unexepcted way (array indexed by numbers, instead of associative array)

    I have no idea why this is happening, and this is the first time I see a similar problem
    Of course I’m not able to reproduce the issue on my installation, but I’d be glad to provide you instructions to perform some debug on yoru site, if you agree and feel confident enough to play with some code
    Of course I suggest to proceed on a staging installation, since any error while debugging could cause disruption to the site

    Thread Starter bahijach

    (@bahijach)

    Hi and thanks for your response.
    All wishlist.php and wishlist-view.php are removed, there is nothing special.
    I opened a ticket at my support of the theme.

    Regards

    Thread Starter bahijach

    (@bahijach)

    Hi again
    I have something found regarding the remove button of products in the wishlist page. The error might coming from the /wp-includes/js/jquery/jquery.js file.
    If this file is removed, there is no issue at all for the wishlist page. But of course the rest of the page is not working anymore.

    Else than that, in the console while clicking on “remove” the following error is shown:

    TypeError: t.split is not a functionjquery.yith-wcwl.js:1:11140
    jQuery 8
    P
    each
    P
    success
    i
    fireWith
    x
    c

    Please help
    Regards

    Plugin Author YITHEMES

    (@yithemes)

    Hi there,

    This message that you see is caused by the error that I described in my previous answer

    wishlist request fragments update, but content returned via AJAX is formatted in an unexepcted way (array indexed by numbers, instead of associative array)

    jQuery is not the source of the issue, and you shouldn’t mofidy core libraries in your WordPress installation

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Button Text & Delete of Products in wishlist’ is closed to new replies.