product attributes

This commit is contained in:
2025-04-05 02:06:23 -07:00
parent 4e6b7ca1ac
commit bb1dab1f43
12 changed files with 319 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ foreach ($productCategoryAttributes as $productCategoryAttribute) {
if ($productCategoryAttribute->attribute_type_id === ProductCategoryAttributeTypeId::Integer) {
$inputType = 'number';
}
echo $this->Form->control('product_attributes.' . $cnt . '.product_category_attribute_id', [
echo $this->Form->control('product_attributes.' . $cnt . '.attribute_value', [
'type' => $inputType,
'label' => $productCategoryAttribute->name,
'options' => $options,