Store Community Support Documentation
JohnJr
#2

PF.Site/Apps/core-subscriptions/Service/Purchase/Process.php

(line 88) case 5:                 $iExpiriTime = strtotime("+3 year", PHPFOX_TIME);                  break;

(line 152) case 5:             {                 $aPurchase['type'] = '3 '._p('Years');                 break;    }

(line 632) case 5:                             $iNewExpiriTime = strtotime("+3 year", $iCurrentTime);                        break;

(line 704) case 5:                       $iNewExpiriTime = strtotime("+3 year", $iCurrentTime);                        break;

 

If you wanted to add only a weekly subscription option then only add this to this file.

 

(line 88) case 5:                 $iExpiriTime = strtotime("+1 week", PHPFOX_TIME);                  break;

(line 152) case 5:             {                 $aPurchase['type'] = '1 '._p('week');                 break;    }

(line 632) case 5:                             $iNewExpiriTime = strtotime("+1 week", $iCurrentTime);                        break;

(line 704) case 5:                       $iNewExpiriTime = strtotime("+1 week", $iCurrentTime);                        break;

 

Last update on May 23, 6:14 pm by JohnJr.
Be the first person to like this.