test additions variants table
This commit is contained in:
@@ -18,13 +18,7 @@
|
||||
<?= $this->Form->create($productCategoryVariant) ?>
|
||||
<fieldset>
|
||||
<legend><?= __('Add Product Category Variant') ?></legend>
|
||||
<?php
|
||||
echo $this->Form->control('name');
|
||||
echo $this->Form->control('product_category_id', ['options' => $productCategories, 'empty' => true]);
|
||||
echo $this->Form->control('product_id', ['options' => $products, 'empty' => true]);
|
||||
echo $this->Form->control('attribute_type_id');
|
||||
echo $this->Form->control('enabled');
|
||||
?>
|
||||
<?= $this->element('ProductCategoryVariants/form'); ?>
|
||||
</fieldset>
|
||||
<?= $this->Form->button(__('Submit')) ?>
|
||||
<?= $this->Form->end() ?>
|
||||
|
||||
@@ -23,13 +23,7 @@
|
||||
<?= $this->Form->create($productCategoryVariant) ?>
|
||||
<fieldset>
|
||||
<legend><?= __('Edit Product Category Variant') ?></legend>
|
||||
<?php
|
||||
echo $this->Form->control('name');
|
||||
echo $this->Form->control('product_category_id', ['options' => $productCategories, 'empty' => true]);
|
||||
echo $this->Form->control('product_id', ['options' => $products, 'empty' => true]);
|
||||
echo $this->Form->control('attribute_type_id');
|
||||
echo $this->Form->control('enabled');
|
||||
?>
|
||||
<?= $this->element('ProductCategoryVariants/form'); ?>
|
||||
</fieldset>
|
||||
<?= $this->Form->button(__('Submit')) ?>
|
||||
<?= $this->Form->end() ?>
|
||||
|
||||
Reference in New Issue
Block a user