Skip to content

Commit

Permalink
Default products should be available for purchase by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed May 25, 2018
1 parent 9ab6e3f commit 7d34c7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -1682,6 +1682,7 @@ private function _defaultProducts()
'postDate' => DateTimeHelper::currentUTCDateTime()->format('Y-m-d H:i:s'),
'expiryDate' => null,
'promotable' => true,
'availableForPurchase' => true,
'defaultPrice' => 10 * $count,
'defaultSku' => $product['sku'],
'taxCategoryId' => $taxCategoryId,
Expand Down

0 comments on commit 7d34c7e

Please sign in to comment.