Dibatalkan

Woocommerce - custom update cart contents without action and filters

Hi friends, i'm trying to update cart contents in custom ajax call without do_action and add_filter but not results.

Is there a way to update cart easily?

public function validate_shipping_cost_checkout($params,$shipping_details)

{

global $woocommerce;

foreach($woocommerce->cart->cart_contents as $key=>$item):

$countryCodeSelectedOnCheckout= $params["countryCode"];

$woocommerce->cart->cart_contents[$key]["shop_item_custom_data"]["params"]["countryCode"] = $countryCodeSelectedOnCheckout;

endforeach;

$woocommerce->cart->persistent_cart_update();

}

Kemahiran: PHP, WooCommerce

Lihat lagi: woocommerce cart custom fields, woocommerce add cart custom field, google checkout cart custom data, php, woocoomerce, zen cart custom checkout button, zen cart custom software bids, zen cart custom product creator, custom landing page checkout oscommerce, cart custom, zen cart custom product type, interspire shopping cart custom work

Tentang Majikan:
( 20 ulasan ) Armenia, Colombia

ID Projek: #10116558

6 pekerja bebas membida secara purata $9/jam untuk pekerjaan ini

karmickinc

We are pretty good at WordPress and WooCommerce plugin. Our developers are well experienced in AJAX as well. So kindly revert back for further proceedings. Looking forward to work you on long term basis. Thank Lagi

$12 USD / jam
(15 Ulasan)
6.1
searcheverything

Hi, We have expertise in woocommerce and confident to deliver you desired solution. We need to check website. Looking forward to hear from you. Thanks

$10 USD / jam
(38 Ulasan)
5.6
supersuntech

Wordpress/PHP/Website Proposal Links Our Recent Work: Wordpress Website: [login to view URL]://[login to view URL] [login to view URL]://[login to view URL] [login to view URL]://[login to view URL] 4 [login to view URL] 5 sm Lagi

$4 USD / jam
(6 Ulasan)
4.0
gcgibjixjp

I can add a special php file to you theme files to do that for you. that would be easier, I had worked a lot on woocommerce and I believe I can do it.

$10 USD / jam
(1 Ulasan)
1.7
rabeyabosri15

Greetings! This is Rabeya Bosri from Bangladesh. I am a professional freelance. I have excellent experience in WordPress, Website Designing, Website Development and SEO. I believe my abilities would be perfect for y Lagi

$5 USD / jam
(0 Ulasan)
0.0
syscraft8avi

Hello, Hope you are doing fine!!!! This is Vitap Makwana, From Syscraft Information Systems Pvt. Ltd India (Awardees of Deloitte fastest 50 IT company in INDIA). Well I have a team of Brilliant Website & Mob Lagi

$11 USD / jam
(0 Ulasan)
0.0