How to set default state value in register?
Posted: Fri Aug 15, 2014 1:27 pm
How to set a default value for state in the register page?
Thank You
Thank You
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
Code: Select all
<input type="hidden" name="country_id" value="204">Schweiz</td>
How to set the zone_id ?IP_CAM wrote:I use one Country and one Zone, called 'ALLE'
it should work, if I did not forget anything,
This enters a HIDDEN fixed (required) Value, instead of calling
that timeconsuming selection List, matching one of the 'used' ones...
Code: Select all
<input type="hidden" name="country_id" value="204">Schweiz</td>
Image is to large sized, so, get it here:
http://www.ipc.li/os/country_zone.jpg
good Luck, it's not entirely chequed trough ALL Sections...
Ernie
openshop.li
Code: Select all
<td><select class="form-control" name="zone_id">
</select>
<?php if ($error_zone) { ?>
<span class="error"><?php echo $error_zone; ?></span>
<?php } ?></td>