Redirect Traffic By Country Question

tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Redirect Traffic By Country Question

Post by tubeman »

Thanks for your reply. Where would I add this code :

$_GET['skip_sell'] = true;

Appreciate the help.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Redirect Traffic By Country Question

Post by admin »

common.php
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Redirect Traffic By Country Question

Post by tubeman »

Thanks for your reply. Any way I can set it to skip selling on certain hours for example 2pm - 5pm server time?
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Redirect Traffic By Country Question

Post by admin »

Yes, download php documention

you need something like

if (date() > 2 and date() < 5 ) $_GET['skip_sell'] = true;
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Redirect Traffic By Country Question

Post by tubeman »

Thanks for the idea. Will try to code this.If I have any problems will let you know.Appreciate the help.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Redirect Traffic By Country Question

Post by admin »

NP
Don't forget to run script update
Post Reply