Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
monema
tagDiv Member

Is possible, via code, to override the element “woo-add-to-cart” in my child theme?
Thanks

monema
tagDiv Member

Ok, thanks for the anwser.
Seriously, i really need to know if there’s is a way to manage the render of the button via hooks. Like this:
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
Why the standard hooks are not working?
Thanks

monema
tagDiv Member

image link

I need a hook, or a function, to manage the rendering of this button.
Thanks.

monema
tagDiv Member

ok we didn’t touch anything but several header teplate were missing, we have restored the entire website to the date prior to your modify and now we got no error in console.
We have disabled all non necessary plugins. But warnings remains.
Could you suggest or tell us what to do?
Thanks.

monema
tagDiv Member

hi the problem is ok just for the home page and articles, in all the rest of the website is full of warnings ie:
https://altrefiamme-new.monema.dev/negozio/
https://altrefiamme-new.monema.dev/azienda/
thanks

monema
tagDiv Member

Hi, the warning is showing again and this time the solution is not working. I also updated the theme but the warning is still there:
Warning: Undefined array key “height” in /var/www/html/wp-content/plugins/td-composer/includes/tdc_util.php on line 107 Warning: Undefined array key “width” in /var/www/html/wp-content/plugins/td-composer/includes/tdc_util.php on line 108

  • This reply was modified 3 years by monema.
monema
tagDiv Member

it worked! thanks.

Viewing 7 posts - 1 through 7 (of 7 total)