km_
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [WP Telegram (Auto Post and Notifications)] No html tags in TG messageThank you for the excellent and functional plugin, the function with e-mail is excellent – it allows you to flexibly configure mailing lists. I use with CF7 – super. I hope you fix html tags
thx!
Forum: Plugins
In reply to: [Message Bridge for Contact Form 7 and Telegram] Второй номер телеграмПопытка клонировать плагин не увенчалась успехом, а второй похожий плагин заработал хорошо…
The specified construction works correctly, but I have one more question,
Some products have the tag “no_discount” — these products should not be discounted at all, but there is an intersection of products in the import – some products with the tag are discounted by xml file…
Is it possible not to calculate the discount on the basis of the label “no_discount”, if yes, how? Or is there other way to do this?
- This reply was modified 6 years, 7 months ago by km_.
Is it correct?
<?php function wpai_discount($price, $discount) { if ($discount != 0) { return (ceil(($discount*$price)/100));} else { return ($price);} } ?>
Viewing 5 replies - 1 through 5 (of 5 total)