Post by porter943 » Tue Feb 18, 2020 7:31 am

Hi All,
Can anyone inform me on how to disable or remove the required phone # insert field on the affiliate program form.
(see image)

Attachments

phone1.jpg

phone1.jpg (140.65 KiB) Viewed 384 times


New member

Posts

Joined
Fri Dec 11, 2015 11:35 pm

Post by xxvirusxx » Tue Feb 18, 2020 2:59 pm

catalog/view/theme/default/template/affiliate/register.tpl remove

Code: Select all

          <div class="form-group required">
            <label class="col-sm-2 control-label" for="input-telephone"><?php echo $entry_telephone; ?></label>
            <div class="col-sm-10">
              <input type="tel" name="telephone" value="<?php echo $telephone; ?>" placeholder="<?php echo $entry_telephone; ?>" id="input-telephone" class="form-control" />
              <?php if ($error_telephone) { ?>
              <div class="text-danger"><?php echo $error_telephone; ?></div>
              <?php } ?>
            </div>
          </div>
Or change in

Code: Select all

          <div class="form-group">
            <label class="col-sm-2 control-label" for="input-telephone"><?php echo $entry_telephone; ?></label>
            <div class="col-sm-10">
              <input type="tel" name="telephone" value="<?php echo $telephone; ?>" placeholder="<?php echo $entry_telephone; ?>" id="input-telephone" class="form-control" />
            </div>
          </div>

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by porter943 » Wed Feb 19, 2020 5:51 am

Its not working, when I change or delete some of it the forum wont work.
Just How Could I just disable it so that its not required to insert the phone # on the forum.
I have tried everything, but not working.
John

New member

Posts

Joined
Fri Dec 11, 2015 11:35 pm
Who is online

Users browsing this forum: No registered users and 291 guests