first commit
This commit is contained in:
10
templates/shop-product/_partial/product-custom-fields.php
Normal file
10
templates/shop-product/_partial/product-custom-fields.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<? if ( is_array( $this -> custom_fields ) ): foreach ( $this -> custom_fields as $custom_field ):?>
|
||||
<div class="custom-field">
|
||||
<div class="_name">
|
||||
<?= $custom_field['name'];?>:
|
||||
</div>
|
||||
<div class="_input">
|
||||
<input type="text" class="form-control" name="custom_field[<?= $custom_field['id_additional_field'];?>]" field_name="<?= $custom_field['name'];?>" value="">
|
||||
</div>
|
||||
</div>
|
||||
<? endforeach; endif;?>
|
||||
Reference in New Issue
Block a user