• Using yith wishlist, how can I customize
    the mailto: link for sharing the list.
    We would like to populate the TO: address
    with our company address (rather than leave it blank).

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

    (@yithemes)

    Hi there

    for the moment your best option is to override share.php template, copying it from wp-content/plugins/yith-woocommerce-wishlist/templates/ and pasting it under wp-content/themes/<your theme or child theme folder>/woocommerce

    Then you’ll be able to edit line 69 of your brand new file, to change mailto: href

    Thread Starter volkswagner

    (@volkswagner)

    I don’t have a folder “woocommerce” under my theme (ashe). I tried creating the folder and pasting the share.php file but no change. I also tried pasting
    the share.php directly in the theme’s root folder.

    Is YITH wishlist just not compatible with my theme?

    Plugin Author YITHEMES

    (@yithemes)

    Hi there

    I could exclude this option, plugin should work with any theme, and template overriding isn’t affected by the specific theme you’re using

    I don’t have a folder “woocommerce”

    This is totally possible, and it just means that your theme do not override any default WooCommerce template

    In this case you’ll just need to create the folder on your own and place template in there

    I tried creating the folder and pasting the share.php file but no change.

    This is strange; have you applied changes to the file that you placed inside /woocommerce subfolder of your theme?
    If that doesn’t work, could you please try to create an empty share.php file inside that folder, and see if share section of the wishlist completely disappears?

    Thread Starter volkswagner

    (@volkswagner)

    I created empty file as:
    /wp-content/themes/ashe/woocommerce/share.php

    This does not affect the share links in wishlist.

    I think the ashe theme may be doing some not standard things
    or I’m doing something wrong.

    Unfortunately the site is not live so I can’t share the link.

    Plugin Author YITHEMES

    (@yithemes)

    Hi again

    Is this the theme you’re using?
    I could give it a try on my local installation if this is the case

    Thread Starter volkswagner

    (@volkswagner)

    Yes the site is now live at https://www.eventsunlimitedpartyrentals.com/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘add address in wishlist mailto: link’ is closed to new replies.