I installed plugin "WooCommerce Discounts Per Payment Method" and I need you to customize this plugin in condition below.

They will not get 10% discount on pick up :

- If they choose products from category "Banquet Deal".

- If they use coupon code.

This is my code in [url removed, login to view] for condition "They will get 10% discount on pick up, if they have minimum order $35".

It's work before update WooCommerce to 2.4.6 but now it's not work.

function custom_wc_payment_discounts_min_order( $avaliable, $cart ) {

$subtotal = $cart->cart_contents_total;

$min_subtotal = 35;

if ( $min_subtotal <= $subtotal ) {

return true;


return false;


add_filter( 'wc_payment_discounts_apply_discount', 'custom_wc_payment_discounts_min_order', 10, 2 );

So, I need you to customize 3 conditions. Could you help me please?

Compétences : Conception graphique , HTML, PHP, Design de site internet

en voir plus : woocommerce plugin help, php single use coupon code, create single use coupon, single use coupon generator, single use coupon, vb auto update file contents, use coupon virtuemart, update vba code template already use, update file contents, php update file contents, script update website contents databass file

Concernant l'employeur :
( 0 commentaires ) Thailand

Nº du projet : #8458605

4 freelance font une offre moyenne de $34 pour ce travail


Hello Sir, I can do this job perfectly. Probably the update in woocommerce has made some code ineffective. I will diagonose the same and fic it accrodingly. I will also apply the other 2 discount rules in the same. K Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(103 Commentaires)

sir I have three years of experience in Wordpress , Opencart installation, theme devlopment,module development, bug solving, customization etc. I also work Magento, Prestashop, Zencart, Wordpress, Javascript ,php,mysq Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(84 Commentaires)

Hello there, Greetings for the day!!! I'm passionate about my work. I have more than 2+ year of working experience in IT industry and four years of web development experience. I'm Dedicated, Serious tone, Honest and Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)

Hello, I can help you to fix your discount pluging issue as you describe the here. Please contact with me. I am fine with your budget. I will work only to help you as this low budget. Thanks, wplover15

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)