Completed

Individual WooCommerce / Wordpress [login to view URL] code snipped...

Hi,

could anyone modify the woocommerce [login to view URL] (ChildTheme !!) code below in clean & fast working lines, that it also works for this requirements:

> Works for product variations

> Works only for user role "b2b" & "gold" and NOT for role "visitors/customers"

> Excludes product categories "polish" & "accessories"

> Will give "b2" *0,95 (5% discount) and "gold "0,90" (10% discount")

add_filter('woocommerce_get_sale_price', 'my_custom_price', 99, 2);

add_filter('woocommerce_get_price', 'my_custom_price', 99, 2);

function my_custom_price( $price, $product )

{

//your logic for calculating the new price here

$price = $product->get_regular_price() * 0.8;

//Return the new price (this is the price that will be used everywhere in the store)

return $price;

}

Skills: PHP, WooCommerce, WordPress

See more: wordpress code snippets tutorial, add custom php to wordpress, code snippets woocommerce, wordpress plugin add code to functions php, download code snippets wordpress, code snippets wordpress plugin, wordpress display code snippets, wordpress snippets, video plugin wordpress php code, integrate php code wordpress, integrate php code wordpress page, integrate php code wordpress pages, wordpress league manager php code, php code wordpress rss reader, rss wordpress php code, arthemia wordpress template globals function php, bulk sms sender php code wordpress, generate sitemap wordpress php code, inserting php code wordpress pages, php code creating wordpress affiliate plugin

About the Employer:
( 0 reviews ) Riegelsberg, Germany

Project ID: #17775283

Awarded to:

TakeReal

Hello, My name is Sergey. I am Freelancer from Saint Petersburg, Russia. I can help you as a WordPress/Woocommerce programmer to modify this function in your Child Theme and apply discount to users with "b2b" & " More

€50 EUR in 1 day
(1726 Reviews)
8.0

28 freelancers are bidding on average €203 for this job

A2Design

Hello! We are A2 Design, a Russian-Canadian web development company. We have a very extensive experience with WordPress/WooСommerce A couple of our latest WooСommerce projects: [login to view URL] https More

€350 EUR in 3 days
(118 Reviews)
8.7
akash9958

Hello, I have read the project description carefully and I am sure that I can do this project very well. I would like to discuss this project with you. You can see some E-Commerce Stores we recently built worldw More

€550 EUR in 3 days
(288 Reviews)
8.3
€222 EUR in 1 day
(592 Reviews)
7.8
coolguyinus2004

Works for product variations which product variations you are talking about? I need full access to create this function and need some time to finish this for you. If you are the owner then message me or discuss w More

€333 EUR in 3 days
(343 Reviews)
7.6
managersingh

Hello, I AM AVAILABLE TO START WORK NOW I am an experienced website developer, Develop near about 550 websites. I am able to Modify the Woo-commerce function as per your requirements and make it mobile friendly as w More

€200 EUR in 3 days
(175 Reviews)
7.3
AltiuseCreaton

Hello, I can help you in woocommerce wordpress as per your given brief on project post. Let me know when you available to discuss more in detailed. Regards Rina

€250 EUR in 7 days
(80 Reviews)
7.1
ranganathp

FREELANCER RECOMMENDED ------------------------------------------------------ Can help... I am a WP Expert... Lets Start! Please start a Discussion with me and we can get started from there... Please check the past More

€400 EUR in 3 days
(74 Reviews)
6.9
DKinfo

Hello sir, i am an expert web designer and developer having 7 years professional working experience with WooCommerce / Wordpress .. I have built many web store before and very confident to undertake this project.. More

€100 EUR in 3 days
(123 Reviews)
6.8
anmoltech

Hi there, I have read your project description carefully and analyze your requirements formodify the woocommerce [login to view URL] child theme. I do have over 8+ year of experience in responsive website design and More

€150 EUR in 3 days
(161 Reviews)
6.2
€111 EUR in 1 day
(94 Reviews)
6.6
avinashjain09

Hello, Hope you are doing well, I have checked the code and I can do this work, please provide your website link. can we have more discussion. I have expertise in wordpress. Below are my skill sets- PHP,Codei More

€129 EUR in 1 day
(117 Reviews)
6.5
ykarora26

Hello Sir, I am an experienced full stack web master, working with joomla , Word press, shopify, big commerce, prestashop, volusion and for over 9 years now. I have knowledge of HTML5, CSS3, jQuery, Angularjs2, PHP More

€100 EUR in 3 days
(129 Reviews)
6.4
ThemeRox

Hello There , I am Elite author at Envato marketplaces making premium theme since 2011 , So i know the best regarding web development , premium theme development and obviously quality coding. Check my Enavo/Theme More

€611 EUR in 7 days
(10 Reviews)
5.5
AdhamSoft

----- Our full effort will be yours ----- This link is wordpress site we created [login to view URL] Please check this as a sample You can visit that link as a sample of what I did More

€31 EUR in 3 days
(39 Reviews)
5.7
ssspl

hello I have previous experience of showing multiple price level for different user levels. if provided, I can do it easily. I am a freelancer with 17 years of experience and have good exposure of wordpress programmi More

€94 EUR in 3 days
(54 Reviews)
5.8
gursukh

Hi I have 5 year experience I can show you my precious work. I'm Individual freelancer I have no timing issue I can do work any time day/nights. so can we discuss once thanks.

€211 EUR in 4 days
(93 Reviews)
6.1
aftabyounas

Hey I can modify the [login to view URL] file of your woocommerce store to change the roles of user, categories and price calculations so feel free to contact

€150 EUR in 5 days
(17 Reviews)
5.0
Infourier

Hello! Hope you are doing great! Before going into the deep let me ask you some basic questions so that I can interact with our team and able to deliver you the best possible product. 1. What will be the payme More

€155 EUR in 3 days
(6 Reviews)
4.5
swamitech06

Hi, Thanks for reviewing my cover letter. I am more then 10 years experienced in Photoshop,Flash,Banner design,Graphic design/ HTML/DHTML/XHTML, CSS,Jquery, javascript,Website & Logo Designer and and I am pretty More

€111 EUR in 3 days
(15 Reviews)
4.3
€166 EUR in 7 days
(30 Reviews)
4.3