variant options coming along - add test passing

This commit is contained in:
2025-07-05 20:48:40 -07:00
parent 5adc791c20
commit 59a38758e9
11 changed files with 110 additions and 24 deletions

View File

@@ -0,0 +1,20 @@
<?php
use App\View\AppView;
use Cake\Datasource\EntityInterface;
/**
* @var AppView $this
* @var EntityInterface $productCategoryAttributeOption
*/
$this->setLayout('ajax');
$prefix = $prefix ?? '';
if ($this->request->getQuery('prefix') !== null) {
$prefix = 'product_category_variant_options.' . $this->request->getQuery('prefix') . '.';
}
echo '<hr class="my-2">';
echo $this->element('ProductCategoryVariants/product_category_variant_option_form', [
'prefix' => $prefix
]);
?>