-
AuthorPosts
-
calavaro Friend
calavaro
- Join date:
- August 2013
- Posts:
- 125
- Downloads:
- 7
- Uploads:
- 34
- Thanks:
- 28
- Thanked:
- 24 times in 1 posts
November 1, 2013 at 3:00 pm #191905calavaro Friendcalavaro
- Join date:
- August 2013
- Posts:
- 125
- Downloads:
- 7
- Uploads:
- 34
- Thanks:
- 28
- Thanked:
- 24 times in 1 posts
November 1, 2013 at 3:17 pm #510900I 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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
calavaro Friendcalavaro
- Join date:
- August 2013
- Posts:
- 125
- Downloads:
- 7
- Uploads:
- 34
- Thanks:
- 28
- Thanked:
- 24 times in 1 posts
November 1, 2013 at 6:21 pm #510939It 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 ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 1, 2013 at 6:53 pm #510943Glad to be of assistance . . . All the best with your continuing site development !!
🙂
AuthorPostsViewing 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
How to remove these fields (picture inside)
Viewing 5 posts - 1 through 5 (of 5 total)