Fermé

Update Wordpress snippet code to display WordPress user Nickname instead of Username

Here is the snippet

add_action('woocommerce_before_cart', 'show_referrer_on_cart');

function show_referrer_on_cart() {

if ( affiliatewp_affiliate_info()->functions->get_affiliate_id() ) {

$info = affiliatewp_affiliate_info()->functions;

$name = $info->get_affiliate_name();

echo '<p>A portion of your purchase price will benefit <b> ' . $name . '<b></p>';

}

}

add_action('woocommerce_before_checkout_form', 'show_referrer_on_checkout');

function show_referrer_on_checkout() {

if ( affiliatewp_affiliate_info()->functions->get_affiliate_id() ) {

$info = affiliatewp_affiliate_info()->functions;

$name = $info->get_affiliate_name();

echo '<p>A portion of your purchase price will benefit <b> ' . $name . '<b></p>';

}

}

add_action('woocommerce_email_after_order_table', 'show_referrer_on_email');

function show_referrer_on_email() {

if ( affiliatewp_affiliate_info()->functions->get_affiliate_id() ) {

$info = affiliatewp_affiliate_info()->functions;

$name = $info->get_affiliate_name();

echo '<p>A portion of your purchase price will benefit <b> ' . $name . '<b></p>';

}

}

Compétences : WordPress, PHP, HTML, JavaScript, WooCommerce

Concernant le client :
( 55 commentaires ) Portland, United States

Nº du projet : #33933275

72 freelances font une offre moyenne de 32 $ pour ce travail

sweta2317

We can help on this. please show me the site, admin and FTP access to work on this. we can start the job now; lets chat.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1172 Commentaires)
9.2
GetReal

Hi, my name is Rajeev. Let me update your snippet code for you, I have vast experience as a professional wordpress developer. Having completed 1100+ Projects on freelancer itself with 100% excellent feedback including Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1100 Commentaires)
8.5
TakeReal

Hello, My name is Sergey. I can help you as WordPress expert to update your snippets and show user Nickname like 'A portion of your purchase price will benefit ' . $username and test my work properly. 2000+ successfu Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(2121 Commentaires)
8.3
raju51279

hi,how r u, can i check ur present site url n if possible give [login to view URL] provide list of changes. Please check recent wordpress websites [login to view URL] (elementor) [login to view URL] (elementor) https://lokal Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(1080 Commentaires)
8.6
(509 Commentaires)
8.0
Risalat1

Hi there, ready to work with you to update the snippet code on your site, can you please share me details and I will estimate you accordingly .. Looking forward for your quick response.. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(553 Commentaires)
8.4
(1461 Commentaires)
7.9
mahamadali

I will help you to show Nickname instead of username in above three places as you explain in wordpress plugin I am php wordpress plugin, Laravel Codeigniter developer I will wait for your reply Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(631 Commentaires)
8.1
(523 Commentaires)
8.0
gursukh

Hi I can help you with the wordpress snippets code update. I read through the job details extremely carefully and I am confident I can exceed your expectations. I have long experience with right skills to work on this Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(437 Commentaires)
7.8
(348 Commentaires)
7.9
webixon

Hello, Valued Buyer, Seo-Friendly WordPress Website, Blog, News & Magazine, E-commerce Store. I am a web designer & developer with more 11 years of experience. I can work in HTML, CSS, JavaScript, Bootstrap, Ajax, JSon Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(225 Commentaires)
7.6
(277 Commentaires)
7.6
(235 Commentaires)
7.7
metaexcel

Hello Sir, I am ready to display nickname in your above function. Let we discuss more to clear more. I am ready to start. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(332 Commentaires)
7.1
(218 Commentaires)
7.2
(376 Commentaires)
7.4
Zahi9

Hello, Greetings! I have reviewed your job description as well, I have 8 years of experience with Shopify's Liquid programming, Shopify Theme Development, and theme customization and I am very confident to handle this Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 4 jours
(267 Commentaires)
7.3
niceDev

Hello dear friend. I am ready to fix your snippet for display nickname. Msg me. Regards. Yegor '''''''

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(53 Commentaires)
6.9
larrypaul93

Hi dear employer, I have read your description and completely understood your Project and want to discuss more. Please initiate chat so that I can ask questions about this project. I am all-rounder and can work with Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(132 Commentaires)
7.0