Ehsan Shahnazi
Forum Replies Created
-
If i Set “Publish Products”
OFF
After aplay pruduct,
All its ok, pic and text and price is Correctly sent to channel.- This reply was modified 5 years, 4 months ago by Ehsan Shahnazi.
I add pruduct from woocommerce. Photo is send to channel and price is free.
Also after update plugin, The message is sent twice to the channel.
My telegram channel
T.me/SepSarIR
Thankshello
i add code, but dont any text or pic send to telegram!!! but before add this code, It was sent only text.
this is all code i use in child theme’s functions.php :///change ? to , 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 ); /////////////////////////////// telegram add_action( 'after_wcfm_products_manage_meta_save', function( $new_product_id, $wcfm_products_manage_form_data ) { $post = get_post( $new_product_id ); do_action( 'wptelegram_p2tg_send_post', $post, 'non_wp', false ); }, 50, 2 );
hello
pls share code.
thank youso my vendor use Persian language comma is better.!
I’m waiting for the (6.2.4) edition.hi
way cant use Enter,Same as WordPress!?
In this case, language is not important.- This reply was modified 5 years, 4 months ago by Ehsan Shahnazi.
- This reply was modified 5 years, 4 months ago by Ehsan Shahnazi.
Forum: Plugins
In reply to: [WooCommerce] Force online payment on salesvery thanks mike jolley.
https://www.persian-rugs.irForum: Plugins
In reply to: [WooCommerce] Force online payment on saleshello
i want discount for only online payment.
can i do it?
thanks