14.1 - Advance Field Customization
It's possible to render every single component of a field by reading the "$this->view['fields']" object. Properties are as follow:
Where:
- aws_price_calc_n: Replace it with the name of the field, which you would like to get the properties of.
- id: Numeric ID of the field
- label_id: Unique ID of the field label
- field_id: Alphanumeric ID of the field
- type: Type of field
- class: CSS class applied to the field
- html: HTML rendering of the field
- value: Value of the field
Here is an example of how to render every field component (Every field must exist):
<div class="awspc-product-form"> <!--Field start--> <div id="" class="form-group awspc-field-widget"> <div class="awspc-field "> <label for="_field"> </label> </div> <div class="awspc-field-error"></div> </div> <!--Field end--> <!--Field start--> <div id="" class="form-group awspc-field-widget"> <div class="awspc-field "> <label for="_field"> </label> </div> <div class="awspc-field-error"></div> </div> <!--Field end--> <!--Field start--> <div id="" class="form-group awspc-field-widget"> <div class="awspc-field "> <label for="_field"> </label> </div> <div class="awspc-field-error"></div> </div> <!--Field end--> </div>