Logo Search packages:      
Sourcecode: zope-emarket version File versions

def EMarket::EMarket::EMarket::addShopper (   self,
  id,
  passwd,
  passwd2,
  email,
  REQUEST = None 
)

addShopper creates a new shopper using the given cookie.... 

Definition at line 570 of file EMarket.py.

00570                                                                    :
        """  addShopper creates a new shopper using the given cookie.... """

        ShopperError = ShopperManager.ShopperError

        result = "Shopper %s added." % id
        
        if passwd != passwd2:
            raise "Bad Request","Sorry.. passwords must match."
        
        newShopper = self.shopperFolder.newShopper( id, passwd, email )
        
        return result

    def addNewShopper(self, REQUEST = None, RESPONSE = None, PATH_INFO = None, PARENTS = None):


Generated by  Doxygen 1.6.0   Back to index