Date of delivery for each user type

2008-09-25
2013-05-30
  • Nobody/Anonymous

       
    I would like to know how to do that for each type of user has a different time of return, if not possible I would like to know which place the source code it gets the date of return to resolve this problem. Thank you very much

     
    • psuarz

      psuarz - 2008-11-27

      For each user

      1) Add a custom field
      Name: limite 
      Description: days to delivery (or whatever you want)
      2) go to ../checkout.php

      After
      ############
      #* Update copy status code.
      ############
      Change
         $copy->setDueBackDt($daysDueBack);
      With
         $limite = $mbr->getCustom("limite");
         if (!$limite) {
         $copy->setDueBackDt($daysDueBack);
         } else {
         $copy->setDueBackDt($limite);
         }

      3) You must enter the number of days user by user. Is not the same thing that you ask, but it function.
      psuarz

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks