Page 2 of 2

Re: Redirect Traffic By Country Question

Posted: Sun Oct 20, 2013 8:39 pm
by tubeman
Thanks for your reply. Where would I add this code :

$_GET['skip_sell'] = true;

Appreciate the help.

Re: Redirect Traffic By Country Question

Posted: Mon Oct 21, 2013 10:22 am
by admin
common.php

Re: Redirect Traffic By Country Question

Posted: Mon Oct 21, 2013 10:27 am
by tubeman
Thanks for your reply. Any way I can set it to skip selling on certain hours for example 2pm - 5pm server time?

Re: Redirect Traffic By Country Question

Posted: Mon Oct 21, 2013 1:37 pm
by admin
Yes, download php documention

you need something like

if (date() > 2 and date() < 5 ) $_GET['skip_sell'] = true;

Re: Redirect Traffic By Country Question

Posted: Mon Oct 21, 2013 3:02 pm
by tubeman
Thanks for the idea. Will try to code this.If I have any problems will let you know.Appreciate the help.

Re: Redirect Traffic By Country Question

Posted: Mon Oct 21, 2013 3:07 pm
by admin
NP