• Hi,
    We are using the YITH WooCommerce Wishlist plugin and we see that your template has an override on this plugin in /wp-content/themes/negan/framework/classes/class-woocommerce.php.

    The add to wishlist button that appears in the product view shows an icon:

    https://trello.com/1/cards/6176d7188d1f9f276568cbd3/attachments/618d4a8357e6563b08e70896/download/icon_.png

    And this icon does not add the product to the wish list because the url of this link does not include the nonce parameter of WordPress. We have written the modification in the class-woocommerce.php file so that it works well but in case of updating the template we would lose the change.

    Is there a way we can override this plugin on the child template so that when updating the template we don’t lose the change?
    Thanks.

Viewing 1 replies (of 1 total)
  • Hello there,
    Hope you are doing well!

    If there is an incompatibility with our plugin, our templates can be overridden by placing them in the theme in a specific way so no changes will be lost when updating the plugin, but you are asking me to maintain a change from your theme files.

    You can always create a child theme, and store there the changes, but is not related to our plugin since you have changed the files of the theme.

    Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘Bug adding product’ is closed to new replies.