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

Anulowany Opublikowano Nov 29, 2015 Płatność przy odbiorze
Anulowany Płatność przy odbiorze

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 Instalowanie skryptów WordPress

Numer ID Projektu: #8996259

O projekcie

4 ofert Zdalny projekt Aktywny Dec 4, 2015

4 freelancerów złożyło ofertę za ₱730 w tym projekcie

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 Więcej

₱620 PHP w ciągu 3 dni
(189 Oceny)
7.7
vineetverma88

A proposal has not yet been provided

₱920 PHP w ciągu 3 dni
(1 Ocena)
0.3