Tagged: Product, woocommerce
In this page:
under the pic It shows the word: “Mostra dettagli”, I don’t need it.
I need the word: “Chiedi un preventivo”
It is possible to change it?
Thanks.
Hey robertoKM,
Try adding this code to the end of your functions.php file in Appearance > Editor:
function custom_script(){
?>
<script>
jQuery(window).load(function(){
jQuery( '.avia_cart_buttons' ).each(function() {
jQuery( this ).find( 'a.button.show_details_button' ).replaceWith('Chiedi un preventivo');
});
});
</script>
<?php
}
add_action('wp_footer', 'custom_script');
Best regards,
Mike
Thanks but don’t work :-(
Hi,
Please check that the code you copied above doesn’t have any “curly quotes” if that doesn’t solve, then Please include an admin login in the Private Content area so we can be of more assistance.
Best regards,
Mike
I give you the Private Content to check, thanks
Hi,
Thanks for the login, in your theme settings you had checked the box “Load jQuery in the footer” but this makes most of your jQuery scripts not work. I corrected for you. Please clear your browser cache and check.
Best regards,
Mike
Thank you very mutch Mike. it works great.
If possible can you show me where it was the setting “Load jQuery in the footer” ?
Thanks
Thanks a lot.
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)
Best regards,
Mike