• Resolved Ehsan Shahnazi

    (@eshahnazi)


    hi
    how can change separate keyword to Persian commas instead of English commas.
    in persian lang commas is ?
    but in english lang comma is ,
    so my shop user for write tag, should change keyboard lang from Persian to English.
    this problem to cause Dont write tag.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WC Lovers

    (@wclovers)

    HI,

    Please add this code to your child theme’s functions.php –

    add_filter( 'wcfm_pm_product_tags_before_save', function( $product_tags, $new_product_id ) {
    	$product_tags = str_replace( "?", ",", str_replace( " ", ",", $product_tags ) );
    	return $product_tags;
    }, 50, 2 );
    
    add_filter( 'wcfm_pm_product_tags_after_save', function( $product_tags, $new_product_id ) {
    	$product_tags = str_replace( ",", "?", $product_tags );
    	return $product_tags;
    }, 50, 2 );

    This will allow to add tags using “?” separator.

    Well, this code will work WooCommerce Frontend Manager plugin’s next update (6.2.4)

    Thank You

    Thread Starter Ehsan Shahnazi

    (@eshahnazi)

    hi
    way cant use Enter,Same as WordPress!?
    In this case, language is not important.

    Plugin Author WC Lovers

    (@wclovers)

    Sorry, “enter” does not support here.

    Maximum we can change this into drop-down, then vendors will able to choose only from pre-defined tags!

    Thank You

    Thread Starter Ehsan Shahnazi

    (@eshahnazi)

    so my vendor use Persian language comma is better.!
    I’m waiting for the (6.2.4) edition.

    Plugin Author WC Lovers

    (@wclovers)

    Sure!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘separate keyword using spaces instead of commas’ is closed to new replies.