Fermé

PHP - Woocommerce - Get custom notes on Admin Order page

I use this script on [login to view URL] of theme to register a custom note in the product:

// Set custom data as custom cart data in the cart item

add_filter( 'woocommerce_add_cart_item_data', 'save_custom_data_in_cart_object', 30, 3 );

function save_custom_data_in_cart_object( $cart_item_data, $product_id, $variation_id ) {

if( ! isset($_GET['custom_tipo']) )

$custom_tipo = esc_attr( $_GET['custom_tipo'] );

$cart_item_data['custom_data']['custom_tipo'] = esc_attr( $_GET['custom_tipo'] );

return $cart_item_data;

}

// Optionally display Custom data in cart and checkout pages

add_filter( 'woocommerce_get_item_data', 'custom_data_on_cart_and_checkout', 99, 2 );

function custom_data_on_cart_and_checkout( $cart_data, $cart_item = null ) {

if( $cart_item['custom_data']['custom_tipo']>'' )

$cart_data[] = array(

'name' => 'Tipo',

'value' => $cart_item['custom_data']['custom_tipo']);

}

This note apperars on Cart, but doesn't appear on Order details, or aren't send on emails. How can I get this notes on Orders? Example: How I get the custom note on this file /wp-content/plugins/woocommerce/includes/admin/list-tables/[login to view URL]

Compétences : PHP, WordPress, WooCommerce

en voir plus : simple order page php, free php order page, php mysql order page, php order page email paypal, php order page template, free php order page invoice script, custom order page credit card processing, admin login page custom joomla, admin order php, custom input field order admin magento, give alert admin order php, magento admin print orders hold generates pdfstore custom product attributes order screen shot attached pdf, oscommerce admin order number page, php ajax order page, magento php admin panel page, php order page, custom admin user page drupal, custom order page whmcs, free download custom cms admin panel php

Concernant l'employeur :
( 0 commentaires ) Ourem, Portugal

Nº du projet : #22765509

8 freelance font une offre moyenne de €27 pour ce travail

evgendob

Hello. Wordpress development expert ready to help you with issue fix. I have more 400 good reviews and more 9 years of development experience behind, so all will be done with best quality and timeframe. Free bugfixing Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(553 Commentaires)
8.0
evadevlopers

Hi There, Ready To Start now. I have 7 years of experience in PHP as well as Wordpress,shopify OpenCart, Codeigniter, OsCommerce….and also in responsive CSS3, bootstrap, html5. etc You can check our work https://pos Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(236 Commentaires)
7.3
Ferroigni

Hi, My name is Heorhii (George), I've read the description and everything looks clear, except do you need an advice or someone to do the actual changes? Please contact me via chat. Thanks, George

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(44 Commentaires)
6.5
sumans9021

I can fix............... ...... Please give me opportunity to work with you............................................................................................ Thank you

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(28 Commentaires)
5.3
liujianmin

Hi, sir! I am senior developer with over 6 years experiences. I checked your descriptions very [login to view URL] i am sure 100 percent about project,i bid. I am clear about your [login to view URL] i have few questions and sug Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 7 jours
(32 Commentaires)
4.8
eujinong

Hi. Your sample code has no any syntax error. I think you didn't add the code script into the correct part. If you hire me, I can fix it right now. Waiting for your reply. Regards.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(7 Commentaires)
3.3
hemantksingh002

Hi Sir, Based on your requirement for PHP - Woocommerce - Get custom notes on Admin Order page. I have gone through your project requirement & would happy to do the best work. I am a specialized developing website, a Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(4 Commentaires)
1.7
idealitellp

I am an expert in developing E-commerce applications. I have already worked on Shopify and WooCommerce. I had worked for [login to view URL] , [login to view URL], [login to view URL] , [login to view URL], etc. These all are ECommerce sites amon Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(0 Commentaires)
0.0