- Posts: 121
- Thank you received: 1
[SOLVED] Remove MEMBER DISCOUNT GROUP
- ozwest
- Topic Author
- Offline
- Premium Member
Less
More
5 years 6 months ago #125252
by ozwest
Remove MEMBER DISCOUNT GROUP was created by ozwest
I sincelerly would like to remove the
Member discount group and Member discount
from the tab DISCOUNT SETTING.
I found the code in form_discount_settings.php and I could just remove it if that does not interfere with something else. Would I need then to move the file into the HTML overrides in the template too so it does not get overridden?
<tr>
<td class="key" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_( 'EB_MEMBER_DISCOUNT_GROUPS' );?>::<?php echo JText::_('EB_MEMBER_DISCOUNT_GROUPS_EXPLAIN'); ?>"><?php echo JText::_('EB_MEMBER_DISCOUNT_GROUPS'); ?></span>
</td>
<td>
<?php echo $this->lists; ?>
<input type="hidden" name="discount_groups_enabled" value="1" />
</td>
</tr>
<tr>
<td class="key" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_( 'EB_MEMBER_DISCOUNT' );?>::<?php echo JText::_('EB_MEMBER_DISCOUNT_EXPLAIN'); ?>"><?php echo JText::_('EB_MEMBER_DISCOUNT'); ?></span>
</td>
<td>
<input type="text" name="discount_amounts" id="discount_amounts" class="input-mini" size="5" value="<?php echo $this->item->discount_amounts; ?>" /> <?php echo $this->lists ; ?>
</td>
</tr>
Member discount group and Member discount
from the tab DISCOUNT SETTING.
I found the code in form_discount_settings.php and I could just remove it if that does not interfere with something else. Would I need then to move the file into the HTML overrides in the template too so it does not get overridden?
<tr>
<td class="key" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_( 'EB_MEMBER_DISCOUNT_GROUPS' );?>::<?php echo JText::_('EB_MEMBER_DISCOUNT_GROUPS_EXPLAIN'); ?>"><?php echo JText::_('EB_MEMBER_DISCOUNT_GROUPS'); ?></span>
</td>
<td>
<?php echo $this->lists; ?>
<input type="hidden" name="discount_groups_enabled" value="1" />
</td>
</tr>
<tr>
<td class="key" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_( 'EB_MEMBER_DISCOUNT' );?>::<?php echo JText::_('EB_MEMBER_DISCOUNT_EXPLAIN'); ?>"><?php echo JText::_('EB_MEMBER_DISCOUNT'); ?></span>
</td>
<td>
<input type="text" name="discount_amounts" id="discount_amounts" class="input-mini" size="5" value="<?php echo $this->item->discount_amounts; ?>" /> <?php echo $this->lists ; ?>
</td>
</tr>
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 6 months ago #125254
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Remove MEMBER DISCOUNT GROUP
Hi
Yes. You will need to move this modification to template override so that it won't be lost when you update to future releases of the extension
Move the modified file to PATH_TO_TEMPLATE/html/com_eventbooking/event folder
Tuan
Yes. You will need to move this modification to template override so that it won't be lost when you update to future releases of the extension
Move the modified file to PATH_TO_TEMPLATE/html/com_eventbooking/event folder
Tuan
Please Log in or Create an account to join the conversation.
- ozwest
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 121
- Thank you received: 1
5 years 6 months ago #125257
by ozwest
Replied by ozwest on topic [SOLVED] Remove MEMBER DISCOUNT GROUP
Great Tuan
It works like a treat. Thank you
Petra
It works like a treat. Thank you
Petra
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 6 months ago #125278
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic [SOLVED] Remove MEMBER DISCOUNT GROUP
Great. Congratulations for getting it done
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.