PHP Redirect to a new page from an if statement (WordPress) Or customize plug-in
- or -
Post a project like this2126
$$$
- Posted:
- Proposals: 13
- Remote
- #1999591
- Awarded
Description
Experience Level: Expert
Okay, I have a very simple task for someone that would like to help me out.
Hello everyone, I want to redirect to a page from an if statement i.e without the user doing anything
if condition==a then
got to page
else
got to other page
end if
Currently, I run promotions that require the buyer to provide email information to receive the discount code. There are several codes preloaded in a plug-in. After the codes are used up the buyer is alerted the codes are gone.
After the last code is given out from a particular promotion, I want anyone that visits that page to be redirected to a new sales page to start the process over. Once the second promotion runs out of codes, new visitors will be redirected to a 3rd promotion page to start the process over, and so on... Once all promotion codes are gone from all active promotions I would like to send customers to a final webpage that alerts the consumer that there are no more codes.
Alternatively, if you could customize the plug-in to cycle through promotion pages as the codes run out that would be great.
Hello everyone, I want to redirect to a page from an if statement i.e without the user doing anything
if condition==a then
got to page
else
got to other page
end if
Currently, I run promotions that require the buyer to provide email information to receive the discount code. There are several codes preloaded in a plug-in. After the codes are used up the buyer is alerted the codes are gone.
After the last code is given out from a particular promotion, I want anyone that visits that page to be redirected to a new sales page to start the process over. Once the second promotion runs out of codes, new visitors will be redirected to a 3rd promotion page to start the process over, and so on... Once all promotion codes are gone from all active promotions I would like to send customers to a final webpage that alerts the consumer that there are no more codes.
Alternatively, if you could customize the plug-in to cycle through promotion pages as the codes run out that would be great.
James T.
100% (6)Projects Completed
2
Freelancers worked with
2
Projects awarded
40%
Last project
9 Jun 2018
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
James, please share page link.
637854
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies