Need Helph with webshop savoy 0.8 + sockets

Results 1 to 5 of 5
  1. #1
    Apprentice SliceMU is offline
    MemberRank
    Mar 2015 Join Date
    8Posts

    Need Helph with webshop savoy 0.8 + sockets

    Hello i found the modified version of the webshop of savoy 0.8 + sockets and harmonys all work fine the problem is this i dont want sell items with same sockets example : 5 Shield Protection Increace or 5 reflect or 5 Damage Reduction i only want sell normal lvl5 items no edit items how can i fix that ? if someone need screens of something please comment and i will add the image thanks if someone helph me do that i give for free the webshop because is very difficult to find hope someone can helph me


  2. #2
    Banned MrMyth is offline
    BannedRank
    Apr 2015 Join Date
    Myth WorldLocation
    59Posts

    Re: Need Helph with webshop savoy 0.8 + sockets

    well I don't have a good answer but I suggest to search for the free dmncms websHop and install it..

  3. #3
    ImperiaMuCMS CEO jacubb is offline
    MemberRank
    Jul 2011 Join Date
    SlovakiaLocation
    1,507Posts

    Re: Need Helph with webshop savoy 0.8 + sockets

    You just need to add some conditions to check, if in submitted form were same sockets or not, that's all.

  4. #4
    Apprentice SliceMU is offline
    MemberRank
    Mar 2015 Join Date
    8Posts

    Re: Need Helph with webshop savoy 0.8 + sockets

    Quote Originally Posted by MrMyth View Post
    well I don't have a good answer but I suggest to search for the free dmncms websHop and install it..
    i got that webshop but is not sync with the vote system :( so i will add mannually the credits for the members

    - - - Updated - - -

    Quote Originally Posted by jacubb View Post
    You just need to add some conditions to check, if in submitted form were same sockets or not, that's all.
    and... how i do that

  5. #5
    ImperiaMuCMS CEO jacubb is offline
    MemberRank
    Jul 2011 Join Date
    SlovakiaLocation
    1,507Posts

    Re: Need Helph with webshop savoy 0.8 + sockets

    Something like this:

    PHP Code:
    if($_POST['socket1'] == $_POST['socket2'] || $_POST['socket1'] == $_POST['socket3'] || $_POST['socket1'] == $_POST['socket4'] || $_POST['socket1'] == $_POST['socket5'])
    {
       echo 
    'dont let him buy that item, show some error...';

    And do the same for sockets2 - 5.



Advertisement