public function requireDefaultRecords()
 {
     parent::requireDefaultRecords();
     $checkoutPage = CheckoutPage::get()->first();
     if ($checkoutPage) {
         $orderConfirmationPage = OrderConfirmationPage::get()->first();
         if (!$orderConfirmationPage) {
             $orderConfirmationPage = OrderConfirmationPage::create();
             $orderConfirmationPage->Title = "Order Confirmation";
             $orderConfirmationPage->MenuTitle = "Order Confirmation";
             $orderConfirmationPage->URLSegment = "order-confirmation";
             $orderConfirmationPage->writeToStage("Stage");
             $orderConfirmationPage->publish("Stage", "Live");
         }
     }
 }