test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • calavaro Friend
    #191905

    Hi,

    Anyone know how do can remove the fields indicated in the picture? Thanks.


    1. Untitled-2
    calavaro Friend
    #510900

    I found a solution for 2 of the 3 problems. I could remove the “User permissions” and Shopper ID”.
    Simply remove the below code snippet from the file / public_html/components/com_virtuemart/views/user/tmpl/edit_vmshopper.ph p

    <tr>
    <td class="key">
    <label for="perms">
    <?php echo JText::_('COM_VIRTUEMART_USER_FORM_PERMS') ?>:
    </label>
    </td>
    <td>
    <?php echo $this->lists['perms']; ?>
    </td>
    </tr>

    <tr>
    <td class="key">
    <label for="customer_number">
    <?php echo JText::_('COM_VIRTUEMART_USER_FORM_CUSTOMER_NUMBER') ?>:
    </label>
    </td>
    <td>
    <?php if(Permissions::getInstance()->check('admin')) { ?>
    <input type="text" class="inputbox" name="customer_number" id="customer_number" size="40" value="<?php echo $this->lists['custnumber'];
    ?>" />
    <?php } else {
    echo $this->lists['custnumber'];
    } ?>
    </td>
    </tr>
    <?php if($this->lists['shoppergroups']) { ?>
    <tr>
    <td class="key">
    <label for="virtuemart_shoppergroup_id">
    <?php echo JText::_('COM_VIRTUEMART_SHOPPER_FORM_GROUP') ?>:
    </label>
    </td>
    <td>
    <?php echo $this->lists['shoppergroups']; ?>
    </td>
    </tr>
    <?php } ?>

    Only “I agree to the Terms of Service” and the checkbox to remove. Still do not know how to. Anyone with ideas?

    TomC Moderator
    #510922

    Try This . . .

    Login to Joomla admin panel – go to Components – Virtuemart – Manage User fields.

    Find field – “agreed” and uncheck it everywhere.

    calavaro Friend
    #510939

    It worked, thanks. I checked there before and it didn’t allow me to disable it from within the page. I had to disable each item separately from the list view this time and it worked. Quite weird stuff going on in Virtuemart for sure.

    TomC Moderator
    #510943

    Glad to be of assistance . . . All the best with your continuing site development !!

    🙂

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  TomC 11 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum