Hi. Can you tell the best way to change button view? I know that I can change the look with css, but what if I need to make an svg animation. For example: https://codepen.io/codyogden/pen/GMEXNm
I can change it inside of the "index.php" file with this lines:
Hi. Can you tell the best way to change button view? I know that I can change the look with css, but what if I need to make an svg animation. For example: https://codepen.io/codyogden/pen/GMEXNm
I can change it inside of the "index.php" file with this lines:
But, can you tell me, if I can change it with Hooks? Or maybe there is a better way, without changing core file? Thank you!Hi Alexey,
This is a nice button but currently, too difficult to add this SVG button to our plugin code.
You can try the filter hook woosw_button_html by adding below function to current theme (or child-theme) / functions.php:
We'll try to add more hooks for customers easy change the button interface soon.
Best regards,
Dustin
Thanks a lot! But is it possible do not change a code inside of span when it was added to wish list? Svg code is replaced by "Browse wishlist" label.
You can do that by editing the JS file woo-smart-wishlist/assets/js/frontend.js
Please find below code and remove it.
Best regards,
Dustin