• Resolved tuijatuulia

    (@adalminanet)


    Hi, I’m using XStore theme, Dokan Pro and WPML.
    On Wishlist page I seem to have a button for Add to cart, but it does not display any text.
    I have enabled “Add to cart option for each product” Checkbox. When debugging, it seems the button tries to include product name to the button label – it might be too long for it.. like “Add THisGreatProduct to cart”

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

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

    (@yithemes)

    Hi there

    Could you please tell me what you entered in this option, under WP Dashboard -> YITH -> Wishlist -> Wishlist page options -> Text customization?

    When debugging, it seems the button tries to include product name to the button label – it might be too long for it.. like “Add THisGreatProduct to cart”

    Wishlist has no such feature, nor WooCommerce as far as I know, so my best guess is that the problem could be caused by some third party code (theme or plugin) interfering with loop Add to Cart button

    Unfortunately, I’m afraid I cannot help much, since I cannot replicate the issue on my local installation

    Anyway, maybe I could provide you with a workaround
    Please, try to add the following CSS rules to Additional CSS section of your theme customizer (WP Dashboard -> Appearance -> Customize)

    html[lang="fi"] .wishlist_table .product-add-to-cart a.add_to_cart_button:after {
        content: 'Lis?? ostoskoriin';
    }
    html[lang="en-US"] .wishlist_table .product-add-to-cart a.add_to_cart_button:after {
        content: 'Add to Cart';
    }
    

    This ain’t the best solution, of course, but should help you solve the problem nontheless

    Thread Starter tuijatuulia

    (@adalminanet)

    Yes, I have added “Add to cart” text to the plugin settings. Btw when I deactivated the plugin (to troubleshoot something else) the settings were gone. I added them again after activation. Thank you, I will try the CSS rules – I hope I can find the correct spot..
    Oh it works beautifully – thank you so much!

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome!

    We are doing our best to improve our plugins. Our target is to develop and release the best free plugins for WooCommerce, but to achieve this we need your help. Please leave a good review to support us and help our growth ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add to cart-text missing from Wishlist page button’ is closed to new replies.