Skip to content

Commit 92bcaa9

Browse files
author
Yaroslav Onischenko
committed
MAGETWO-44571: Broken link to Yoga Collection
1 parent b8fa483 commit 92bcaa9

File tree

5 files changed

+1198
-1198
lines changed

5 files changed

+1198
-1198
lines changed

app/code/Magento/ConfigurableSampleData/Setup/Installer.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright © 2015 Magento. All rights reserved.
3+
* Copyright 2015 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
66
namespace Magento\ConfigurableSampleData\Setup;
@@ -29,6 +29,11 @@ class Installer implements Setup\SampleData\InstallerInterface
2929
*/
3030
protected $productLinkSetup;
3131

32+
/**
33+
* @var \Magento\SalesSampleData\Model\Order
34+
*/
35+
protected $order;
36+
3237
/**
3338
* @param \Magento\CatalogSampleData\Model\Attribute $attribute
3439
* @param \Magento\CatalogSampleData\Model\Category $category
@@ -39,12 +44,14 @@ public function __construct(
3944
\Magento\CatalogSampleData\Model\Attribute $attribute,
4045
\Magento\CatalogSampleData\Model\Category $category,
4146
\Magento\ConfigurableSampleData\Model\Product $configurableProduct,
42-
\Magento\ProductLinksSampleData\Model\ProductLink $productLinkSetup
47+
\Magento\ProductLinksSampleData\Model\ProductLink $productLinkSetup,
48+
\Magento\SalesSampleData\Model\Order $order
4349
) {
4450
$this->attribute = $attribute;
4551
$this->category = $category;
4652
$this->configurableProduct = $configurableProduct;
4753
$this->productLinkSetup = $productLinkSetup;
54+
$this->order = $order;
4855
}
4956

5057
/**
@@ -60,5 +67,6 @@ public function install()
6067
['Magento_ConfigurableSampleData::fixtures/Links/upsell.csv'],
6168
['Magento_ConfigurableSampleData::fixtures/Links/crossell.csv']
6269
);
70+
$this->order->install(['Magento_ConfigurableSampleData::fixtures/orders.csv']);
6371
}
64-
}
72+
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
customer_email,currency,shipping_method,payment,product,refund,increment_id
2-
"[email protected]",USD,"flatrate_flatrate",checkmo,"a:3:{s:3:""sku"";s:4:""WS03"";s:3:""qty"";s:1:""1"";s:20:""configurable_options"";a:2:{s:12:""size_general"";s:2:""XS"";s:5:""color"";s:3:""Red"";}}",no,000000001
3-
"[email protected]",USD,"flatrate_flatrate",checkmo,"a:3:{s:3:""sku"";s:4:""WS08"";s:3:""qty"";s:1:""1"";s:20:""configurable_options"";a:2:{s:12:""size_general"";s:2:""XS"";s:5:""color"";s:4:""Blue"";}}",yes,000000002
1+
customer_email,currency,shipping_method,payment,product,refund
2+
"[email protected]",USD,"flatrate_flatrate",checkmo,"a:3:{s:3:""sku"";s:4:""WS03"";s:3:""qty"";s:1:""1"";s:20:""configurable_options"";a:2:{s:4:""size"";s:2:""XS"";s:5:""color"";s:3:""Red"";}}",no
3+
"[email protected]",USD,"flatrate_flatrate",checkmo,"a:3:{s:3:""sku"";s:4:""WS08"";s:3:""qty"";s:1:""1"";s:20:""configurable_options"";a:2:{s:4:""size"";s:2:""XS"";s:5:""color"";s:4:""Blue"";}}",yes

0 commit comments

Comments
 (0)