function code in wordpress, transfer product from one category into another after being sold

Cancelled Posted Nov 29, 2015 Paid on delivery
Cancelled Paid on delivery

Hi, I needed a function code in wordpress, transfer the products from one category into another after being sold. That's all.

Sample: If I a product has been sold under category slug "tshirt" put the products after being sold into the category slug "tshirt_sold"

Notes:

-Make sure I could change the word slug, the 2 category slug inside the function script code

-Please give me a clean code on where I could duplicate the code, because in the future I may add additional category.

Like for example, I may add "pants" category and shall be put into "pants_sold" category or "keychains" and shall be remain in the same category "keychains"

pants---->trasnfer to----> pants_sold

keychains---->trasnfer to---->keychains (same category)

If you have other method or option, just inform me.

Thankyou

HTML JavaScript PHP Script Install WordPress

Project ID: #8996259

About the project

4 proposals Remote project Active Dec 4, 2015

4 freelancers are bidding on average ₱730 for this job

vyasrohan

hi Since 2010, I had the pleasure of helping countless individuals and businesses to complete their project. I've developed a bulk of websites from the different streams. I've developed a reputation for hitting the More

₱620 PHP in 3 days
(189 Reviews)
7.7
vineetverma88

A proposal has not yet been provided

₱920 PHP in 3 days
(1 Review)
0.3