Find Jobs
Hire Freelancers

Woocommerce PHP Custom Script - Add Subscription Product to Any Product on Checkout

$30-250 USD

I përfunduar
Postuar almost 5 years ago

$30-250 USD

Paguhet në dorëzim
Currently we are forcing Subscription but it seems very complicated so I want to make a change - I want to make very EASY for customer - Steps: Customer clicks buy now Shopping cart add product + subscription product ------------------- I Found this Code that you may find helpful ------------------------------------ PHP Snippet: Add “Product Gift” to Cart if SKU is Added to WooCommerce Cart /** * @snippet Buy 1, Get Free Product as a Gift - WooCommerce * @how-to Watch tutorial @ [login to view URL] * @sourcecode [login to view URL] * @author Rodolfo Melogli * @compatible Woo 3.5.3 * @donate $9 [login to view URL] */ add_filter( 'woocommerce_add_to_cart_validation', 'bbloomer_add_gift_if_sku_added_cart', 10, 3 ); function bbloomer_add_gift_if_sku_added_cart( $passed, $product_id, $quantity ) { global $woocommerce; /* enter array of SKUs that give gift */ $skuswithgift = array('armpar','armsup'); /* enter SKU of product gift */ $giftsku = 'starter'; /* enter name of coupon that gives 100% discount for specific product gift */ $coupon_code = 'xxxyyyzzz'; $product = wc_get_product( $product_id ); if ( $product->get_sku() && in_array( $product->get_sku(), $skuswithgift ) ) { WC()->cart->add_to_cart( wc_get_product_id_by_sku($giftsku) ); wc_add_notice( __( 'Hey, Supporter! As promised, I added #CustomizeWoo Video Lessons for Free - you will be able to access them in a single place (~ My Courses ~) and get premium support.', 'woocommerce' ), 'success' ); $woocommerce->cart->add_discount( $coupon_code ); } return $passed; }
ID e Projektit: 20010221

Rreth projektit

13 propozime
Projekt në distancë
Aktive 5 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
Hello, I read your requirements and understand very-well and ready to start work from now. Thank you
$150 USD në 2 ditë
4,8 (200 përshtypje)
7,3
7,3
13 freelancers are bidding on average $189 USD for this job
Avatari i Përdoruesit
//** EXPERT IN WORDPRESS WOOCOMMERCE CUSTOM WORK **// More then 7+ years of experience in Development . Also kindly check our profile we have done over 350 project here on freelancer so very much reliable & fit for your project . Kindly initiate chat.
$250 USD në 2 ditë
4,9 (427 përshtypje)
8,2
8,2
Avatari i Përdoruesit
Hi, Recently, we completed a project for the client, which is completed in the WordPress. In this field, I am 5 years experienced in PHP, CakePHP, Wordpress, Wordpress Theme Integration, Woocommerce/E-commerce, Responsive Design. I would also mention my working with 100% result. Please have a look at my recent work: - [portfolio cat="Wordpress Development"] In any case, you need any type of help to solve your problem, I am always ready to solve your problem. Thank you for taking the time to read my application. Kind wishes Navneet
$50 USD në 5 ditë
4,9 (91 përshtypje)
6,5
6,5
Avatari i Përdoruesit
Nice to meet you. I've read the task description and can develop definitely. I'll provide you with the highly skill to complete this task in time. I'll also do my best for you. Please contact with me. Thank you very much.
$100 USD në 3 ditë
4,9 (105 përshtypje)
6,5
6,5
Avatari i Përdoruesit
Hello! I am a web developer.(WORDPRESS expert) I have checked your project description. I can help you with customizing woocommerce I guarantee the good result. I will wait for your reply. Thank you.
$155 USD në 3 ditë
4,9 (35 përshtypje)
5,7
5,7
Avatari i Përdoruesit
Hello, I am expert web developer and I can help you right now with the subscription function on your Woocommerce website. Let's discuss more. Thank you
$100 USD në 1 ditë
5,0 (22 përshtypje)
5,6
5,6
Avatari i Përdoruesit
hello sir , i have ready this kind of project i can show you demo also i can do this work please inbox me i have 10 years experience in software and web development in asp.net c# mvc technology , i can do your work as per your requirement. let me know if my profile suitable for your project. thanks
$277 USD në 3 ditë
4,9 (16 përshtypje)
4,9
4,9
Avatari i Përdoruesit
I read job description and I can do your project.I can even work on urgent basis and complete your project soon..contact me for more information
$166 USD në 5 ditë
5,0 (3 përshtypje)
1,8
1,8

Rreth klientit

Flamuri i UNITED STATES
Houston, United States
4,8
100
Mënyra e pagesës u verifikua
Anëtar që nga mar 5, 2010

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.