Menu

Multiple usergroups / Shipping Methods

Hans T
2002-12-05
2002-12-05
  • Hans T

    Hans T - 2002-12-05

    I'm looking for a way to give one user access to artikels from two (or more) usergroups. Right now I have to create two users with the same name and address but in different usergroups. Is this possible within v2 by changing/adding values in MySQL or another way?

    Can an article force a shipping method? If it's too big to ship then force a 'pick up',

     
    • Andreas Kansok

      Andreas Kansok - 2002-12-05

      Both isn't possible yet.

      User-group-problem is similar to 'one-item-in-different- itemgroups. You need in both cases a new table, maybe like:
      table usr_grp
      userID | usrgrpID
      5         |    2
      5         |    3
      ...
      or
      table item_itemgr
      itemID | itemgrID
      1         |     3
      1         |     4
      ...

      All SELECT-queries has to be rebuilt for this situation and - that's very important - admin pages.
      -------------------------------
      Shipping methods for item:
      There is an easy way: Add a column 'shipmethod' into table item where the ID of favourite method is in. Leave this column empty, if nothing special is needed.

      In pay.php you have to look, if one item is in cart, which have a special delivery method, then no dropdown appears. (Please don't ask me, what to do if two items in cart with different ship.meth's ;-)

      Have a nice day ;-)
      Andreas.

       

Log in to post a comment.