Security PREREQUISITES
( You are warned that you must know something about php to modify these files )
* copy these 3 files to xxxold.php( so we have the duplicates of these files to restore them before any error )
oc-admin / themes / omega / items / frm.php
oc-content / themes / sigma / user-profile.php
oc-content / themes / sigma / item-sidebar.php
those files should be read like this
oc-admin / themes / omega / items / frmold.php
oc-content / themes / sigma / user-profileold.php
oc-content / themes / sigma / item-sidebarold.php
1.MODIFYING "other contact" for "whatsapp" in THE OMEGA THEME oc-adminenter this file
oc-admin / themes / omega / items / frm.php
Look for
<div class="input-has-placeholder input-separate-top">
<label><?php _e('Other Contact'); ?></label>
<?php ItemForm::contact_other_text(); ?>
</div>
modify by this
<div class="input-has-placeholder input-separate-top">
<label><?php _e('Whatsapp'); ?></label>
<?php ItemForm::contact_other_text(); ?>
</div>
2. IN THE user-profile.phpenter this file
oc-content / themes / sigma / user-profile.php
Look for
<div class="control-group">
<label class="control-label" for="phoneLand"><?php _e('Phone', 'sigma'); ?></label>
<div class="controls">
modify by this
<div class="control-group">
<label class="control-label" for="phoneLand"><?php _e('Whatsapp', 'sigma'); ?></label>
<div class="controls">
3.IN THE item-sidebar.phpenter this file
oc-content / themes / sigma / item-sidebar.php
Look for
<?php if ( osc_item_contact_other() != '' ) { ?>
<p class="other bld"><span><?php _e('Other', 'sigma'); ?>:</span> <?php echo osc_item_contact_other(); ?></p>
<?php } ?>
Modify by this
<?php if ( osc_item_contact_other() != '' ) { ?>
<p class="other bld"><span><?php _e('Whatsapp', 'sigma'); ?>:</span> <a class="other bld" title="Whatsapp" target="_blank" href="https://wa.me/<?php echo osc_item_contact_other(); ?>"><i class="fa fa-whatsapp"></i></a></p>
<?php } ?>
* You remember that if you update the SIGMA theme these modifications will be deleted.