hi, it is not possible via admin, you need to tweak the code. Regarding fax and company you can easily do, commenting some lines in some tpl files. On the other side, things are more complicated for province/zone field, because it is a mandatory field to determine customer geo zone, needed for shipping, payment, etc.
Let's say in this case you should be able to hide the field (via css/style), leaving the default value (and ignoring it in admin interface)
I hope i have you some first inputs / ideas,
Regards,
M
Inviato dal mio Find 5 utilizzando Tapatalk
Let's say in this case you should be able to hide the field (via css/style), leaving the default value (and ignoring it in admin interface)
I hope i have you some first inputs / ideas,
Regards,
M
Inviato dal mio Find 5 utilizzando Tapatalk
-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------
Go to catalog/view/theme/yourthemefolder/account/register.tpl
1. To hide fax
Find
Replace
2. To hide Company
Find code
Replace code
1. To hide fax
Find
Code: Select all
<div class="form-group">
<label class="col-sm-2 control-label" for="input-fax"><?php echo $entry_fax; ?></label>
<div class="col-sm-10">
<input type="text" name="fax" value="<?php echo $fax; ?>" placeholder="<?php echo $entry_fax; ?>" id="input-fax" class="form-control" />
</div>
</div>
Code: Select all
<div class="form-group" style="display:none">
<label class="col-sm-2 control-label" for="input-fax"><?php echo $entry_fax; ?></label>
<div class="col-sm-10">
<input type="text" name="fax" value="<?php echo $fax; ?>" placeholder="<?php echo $entry_fax; ?>" id="input-fax" class="form-control" />
</div>
</div>
Find code
Code: Select all
<div class="form-group">
<label class="col-sm-2 control-label" for="input-company"><?php echo $entry_company; ?></label>
<div class="col-sm-10">
<input type="text" name="company" value="<?php echo $company; ?>" placeholder="<?php echo $entry_company; ?>" id="input-company" class="form-control" />
</div>
</div>
Code: Select all
<div class="form-group" style="display:none">
<label class="col-sm-2 control-label" for="input-company"><?php echo $entry_company; ?></label>
<div class="col-sm-10">
<input type="text" name="company" value="<?php echo $company; ?>" placeholder="<?php echo $entry_company; ?>" id="input-company" class="form-control" />
</div>
</div>
Browse large collection of Premium OpenCart Themes
To hide Region
Add style="display:none" to Region div similar to Fax & Company
Now go to catalog/controller/account/register.php
comment code related to zone id from index() & add below code
Comment code related to zone_id from validate()
Add style="display:none" to Region div similar to Fax & Company
Now go to catalog/controller/account/register.php
comment code related to zone id from index() & add below code
Code: Select all
$data['zone_id'] = '0';
Browse large collection of Premium OpenCart Themes
Who is online
Users browsing this forum: No registered users and 18 guests