Hi, sorry I forgot some div in code, I’m going to update the documentation.
Anyway here you can find the complete code for first 3 fields. It shouldn’t give you any issue.
<?php
/*
* THEME_NAME: Example Simone
*/
?>
<div class="wpc-product-form">
<!--Field start-->
<div id="<?php echo $this->view['data']['woo_price_calc_1']['elementId']; ?>" class="form-group wpc-field-widget">
<div class="wpc-field <?php echo $this->view['data']['woo_price_calc_1']['class']; ?>">
<?php echo $this->view['fields']['woo_price_calc_1']['html']; ?>
<label for="<?php echo $this->view['data']['woo_price_calc_1']['elementId']; ?>_field">
<?php echo $this->view['fields']['woo_price_calc_1']['label_name']; ?>
</label>
</div>
<div class="wpc-field-error"></div>
</div>
<!--Field end-->
<!--Field start-->
<div id="<?php echo $this->view['data']['woo_price_calc_2']['elementId']; ?>" class="form-group wpc-field-widget">
<div class="wpc-field <?php echo $this->view['data']['woo_price_calc_2']['class']; ?>">
<?php echo $this->view['fields']['woo_price_calc_2']['html']; ?>
<label for="<?php echo $this->view['data']['woo_price_calc_2']['elementId']; ?>_field">
<?php echo $this->view['fields']['woo_price_calc_2']['label_name']; ?>
</label>
</div>
<div class="wpc-field-error"></div>
</div>
<!--Field end-->
<!--Field start-->
<div id="<?php echo $this->view['data']['woo_price_calc_3']['elementId']; ?>" class="form-group wpc-field-widget">
<div class="wpc-field <?php echo $this->view['data']['woo_price_calc_3']['class']; ?>">
<?php echo $this->view['fields']['woo_price_calc_3']['html']; ?>
<label for="<?php echo $this->view['data']['woo_price_calc_3']['elementId']; ?>_field">
<?php echo $this->view['fields']['woo_price_calc_3']['label_name']; ?>
</label>
</div>
<div class="wpc-field-error"></div>
</div>
<!--Field end-->
</div>
If we managed to resolve your issue, please close this topic. Thank you.
Regards,
Simone
-
This reply was modified 7 years, 10 months ago by Altos.
-
This reply was modified 7 years, 10 months ago by Altos. Reason: typing errors