Plugin Support
Yuki K a11n.
(@yukikatayama)
Automattic Happiness Engineer
@nvr21,
Adding attributes globally can only be done by going to Products > Attributes. Then, from the individual products, you would add the global attributes – will not work the other way around.
Cheers,
Yuki
Thread Starter
nvr21
(@nvr21)
So there is no tweak, functions or some code so it can be done vice -versa. From produtcs to global.
Also i have some errors since i’ve updated to latest woocommerce:
PHP Warning: A non-numeric value encountered in /public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1564
Plugin Support
Yuki K a11n.
(@yukikatayama)
Automattic Happiness Engineer
Hi @nvr21,
Not that I know of. It might be possible but would require extensive custom coding. If you need assistance with coding, we recommend contacting a developer from one of these services at https://woocommerce.com/customizations/.
> PHP Warning: A non-numeric value encountered in /public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1564
Is this showing in the front or backend? Is there a product that doesn’t have a price? What needs to be done to get this warning to appear?
Thread Starter
nvr21
(@nvr21)
My error logs is full of that message since last update.
It is displayed just in error log
Plugin Support
Yuki K a11n.
(@yukikatayama)
Automattic Happiness Engineer
Hi @nvr21,
PHP Warning: A non-numeric value encountered in /public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1564
For this error, could you try switching your theme to Storefront temporarily, then check to see if the error still persists?
It’s highly recommended that you make a backup of your site before doing this. If you would prefer not to do testing on your live site, create a staging site using this plugin WP Staging(https://wordpress.org/plugins/wp-staging/). This creates a copy of your live site where you can make tests without affecting your live site.
If switching themes no longer show the error, I would recommend contacting the theme devs about this.
Cheers,
Yuki