Skip to content

Commit

Permalink
add visible_individually
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Dec 10, 2024
1 parent 8fc0053 commit 1d1648c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ public function quickCreate(Request $request){
$Variant['inventories'][1] = 1000;
$Variant['channel'] = Core()->getCurrentChannel()->code;
$Variant['locale'] = Core()->getCurrentLocale()->code;
$Variant['visible_individually'] = 1;

$Variant['categories'] = $categories;
$option1 = isset($super_attributes_label[1]) ? $super_attributes_label[1] : null;
Expand Down Expand Up @@ -377,6 +378,7 @@ public function quickCreate(Request $request){
$tableData['description'] = $req['description'];
$tableData['price'] = $req['pricingData']['price'];
$tableData['compare_at_price'] = $req['pricingData']['originalPrice'];
$tableData['visible_individually'] = 1;
// $tableData['categories'] = $categories;

//var_dump($tableData);exit;
Expand Down

0 comments on commit 1d1648c

Please sign in to comment.