Support Forum

Content of the article

WPBE - WordPress Posts Bulk Editor Professional
You need to log-in to create request (topic) to the support

Create new attributes with comma

(new from 01-07-2019)
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here.
The support doesn work on saturdays and sundays, so some Friday requests can be answered on Monday.

Hi,

I'm trying to create new attribute values that contain a comma.

Here's an example. I created a new attribute name called "author". With WOOBE, I want to add authors to each product from the same page. Issues arises when I want to add an author name that contains a comma, like "Lestage, Denise". However, because of the comma WOOBE thinks I want to add two different values. Lestage and Denise. How can I overcome that?

 

Thanks!

Hello

Try  in file  - wp-content\plugins\woocommerce-bulk-editor\index.php  comment/delete this  code - https://c2n.me/43y9zqm.png

and  paste - https://c2n.me/43y9EW1.png

$titles = array($titles);
$slugs = array(str_replace(",", "_", $slugs));

Do test  please

I tried, and it seems to do the trick. Thank you!

I'll have to do this everytime there's an update, correct?

 

Thanks!

Hello

I'll have to do this everytime there's an update, correct? - Yes. Unfortunately, we will not implement the code in the new version