Wordpress plugin fix/update

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

Affiliate WP ([url removed, login to view]) is a affiliate link plugin we use on our site mykidpod.com. We need a custom add on/child plugin developed that allows us to customize the length a cookie is valid for for certain affiliates. For instance, we want affliates (with their own custom affiliate link) to get credit if one of their users re-visits the site within a specified number of days and completes a purchase. For some affiliates we would like this to be 30 days, for others, we want it to just be one day, and in the future may want to indicate other numbers of days as well.

Currently we can globally change this setting through the settings that come standard with Affiliate WP, but it affects all affiliates. We need to be able to change this for each individual affiliate depending on our contract/agreement with them. We would like a setting added after the referral rate for each individual affiliate ((see screenshots) we can customize the commission rate that each referral receives, just not how long the cookie is valid for on the visitor's browser)

We have contacted Affiliate WP Support and they provided us with the following information to help point us in the right direction:

Here is how we are adding that settings field to the general settings: [url removed, login to view]

You would need to hook into the edit affiliate screen and register a new field with the following:

// Add options to the edit affiliate screen

add_action( 'affwp_edit_affiliate_end', array( $this, 'edit_affiliate' ) );

// Update affiliate from edit affiliate screen

add_action( 'affwp_update_affiliate', array( $this, 'update_affiliate_cookie' ), -1 );

[url removed, login to view]

Be sure to change the callback function to whatever you make it. To override the oroiginal cookie expiration, you could use the affwp_cookie_expiration_time filter: [url removed, login to view]

We do not want to modify any of the plugin code as Affiliate WP frequently releases updates. This will need to be developed as an add-on plugin that integrates with Affiliate WP and adds this functionality. Affiliate WP currently has many add-on plugins that add cetain functionality to their base toolset. We would like this plugin developed in a similar manner.

CSS HTML PHP WordPress

Project ID: #11367367

About the project

27 proposals Remote project Active 7 years ago

Awarded to:

pulakesh90

I would like to thank you sir for giving me the opportunity to place my offer for your project , I have gone through your requirement and understood it properly, but for better understanding regarding the functionalit More

$74 USD in 3 days
(57 Reviews)
5.9

27 freelancers are bidding on average $253 for this job

graphicaa

Hello, Got your idea,I am interested in this project, Let me know if i am in your shortlist, i can submit my detailed proposal after that. Thanks, Sathies 29-08-16 Note: + We are flexible for custom changes & we m More

$300 USD in 7 days
(633 Reviews)
8.9
adibutt

Hi, This bid is from a company with 9+ years of experience in offering IT solutions. We have a good eye for perfection because we enjoy taking up several projects like yours where we can demonstrate our penchant for More

$252 USD in 6 days
(264 Reviews)
8.1
mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks

$288 USD in 12 days
(405 Reviews)
8.2
zbsol

Already worked on Many complex wordpress plugin's before you can check Lets start.............................

$250 USD in 10 days
(125 Reviews)
7.4
toseef3

Hello, Hope you are fine. I have read the job description, I am willing to work with you as per your requirements. I have already done similar work and get great feedback. Please open chat with me so we can dis More

$249 USD in 7 days
(70 Reviews)
7.6
alyaspk

Dear Employer, I am ready to work on your required task and can assure 100% satisfaction. You can read reviews/details about my past work on my profile http://www.freelancer.com/u/alyaspk.html Looking forward t More

$147 USD in 3 days
(164 Reviews)
7.3
BitLabs

Hello, I have gone through your outsourced requirements "Wordpress plugin fix/update" and have analyzed that I have right skills (CSS, HTML, PHP, WordPress) to execute your esteemed project. I will complete your More

$282 USD in 3 days
(138 Reviews)
6.8
eddielee394

I've had to do similar modifications with IdevAffiliate, as they also utilize a global variable to pass through the cookie expiration parameters (same was AWP). Displaying the parameters in the admin panel for AWP isn More

$388 USD in 7 days
(27 Reviews)
6.5
mcfarhat

Hey there, If you're looking for excellent development quality and great English communication skills, you've come to the right place. I am a highly experienced wordpress developer, with over 12 years of professional More

$280 USD in 3 days
(31 Reviews)
6.1
kolindozadrima

A proposal has not yet been provided

$55 USD in 1 day
(25 Reviews)
3.3
EdgarHill

Hi, This is my final bid. I have read your project description. We are a team of experts and professionals. We are ready to work for you. Further we will Discuss. Thanks,

$50 USD in 4 days
(1 Review)
0.0