Fermé

สร้างเว็บไซต์

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

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 ont fait une offre moyenne de 34 $ pour ce travail

RITESHBATHWAL

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

50 $ USD en 2 jours
(103 Commentaires)
6.0
topworkerbd

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

30 $ USD en 1 jour
(84 Commentaires)
5.5
basu6969

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

25 $ USD en 3 jours
(0 Commentaires)
0.0
wplover15

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

30 $ USD en 2 jours
(0 Commentaires)
0.0