@purbeckpixels + @nicotolsta
@claudiulodro just made a fix (for the older order issues)
https://github.com/woocommerce/woocommerce/pull/13975/commits/523d39578a97024353ae0cfd248b94c09062150d
If you can FTP into your site’s files, open includes/class-wc-order-item.php
, scroll down to “around” line 211 you’ll see this line of code:
if ( $product && preg_match( $value_in_product_name_regex, $product->get_name() ) ) {
Now, you “could” wait for @claudiulodro ‘s merge & then for the update to show up in your dashboard….. or ?? you can carefully replace that line with this code:
if ( $product && preg_match( $value_in_product_name_regex, $order_item_name ) ) {
See the end of that after the comma where it changes from $product->get_name
to $order_item_name
, that’s the specific part you’ll want to change.
Go Sensei Lodromanean!
-
This reply was modified 7 years, 7 months ago by Brad Griffin.