Form->create($productSkus) ?>
false]; foreach (combinations($toGetCartesianProductsFrom) as $c => $combination) : ?> $singleVariantName) : ?>
Add? SKU Barcode Price Cost
Form->control($cnt . '.add', ['label' => false, 'type' => 'checkbox', 'checked' => true]); ?> Form->control($cnt . '.sku', $labelFalse); ?> Form->control($cnt . '.barcode', $labelFalse); ?> Form->control($cnt . '.price', $labelFalse); ?> Form->control($cnt . '.cost', $labelFalse); ?> Form->hidden($cnt . '.product_skus_variant_values.' . $variantCnt . '.product_category_variant_id', ['value' => $singleVariantId ?? null]); ?> Form->hidden($cnt . '.product_skus_variant_values.' . $variantCnt . '.product_category_variant_option_id', ['value' => $combination[$singleVariantId] ?? null]); ?>
Form->button(__('Submit')) ?> Form->end() ?>