|
@@ 459-469 (lines=11) @@
|
| 456 |
|
$compared = strnatcmp($customer->getName02(), $nameMei); |
| 457 |
|
} |
| 458 |
|
// 上下それぞれで名前、商品個数を設定 |
| 459 |
|
if ($compared < 0) { |
| 460 |
|
$quantity1 = $shipping1_quantity; |
| 461 |
|
$quantity2 = $shipping2_quantity; |
| 462 |
|
$name1 = $customer->getName01(); |
| 463 |
|
$name2 = $nameSei; |
| 464 |
|
} else { |
| 465 |
|
$quantity1 = $shipping2_quantity; |
| 466 |
|
$quantity2 = $shipping1_quantity; |
| 467 |
|
$name1 = $nameSei; |
| 468 |
|
$name2 = $customer->getName01(); |
| 469 |
|
} |
| 470 |
|
|
| 471 |
|
// 複数配送設定ができていることを確認 |
| 472 |
|
$I->see('お届け先(1)', '#shopping-form > div > div.ec-orderRole__detail > div.ec-orderDelivery > div:nth-child(2)'); |
|
@@ 659-669 (lines=11) @@
|
| 656 |
|
$compared = strnatcmp($customer->getName02(), $nameMei); |
| 657 |
|
} |
| 658 |
|
// 上下それぞれで名前、商品個数を設定 |
| 659 |
|
if ($compared < 0) { |
| 660 |
|
$quantity1 = $shipping1_quantity; |
| 661 |
|
$quantity2 = $shipping2_quantity; |
| 662 |
|
$name1 = $customer->getName01(); |
| 663 |
|
$name2 = $nameSei; |
| 664 |
|
} else { |
| 665 |
|
$quantity1 = $shipping2_quantity; |
| 666 |
|
$quantity2 = $shipping1_quantity; |
| 667 |
|
$name1 = $nameSei; |
| 668 |
|
$name2 = $customer->getName01(); |
| 669 |
|
} |
| 670 |
|
|
| 671 |
|
// 複数配送設定ができていることを確認 |
| 672 |
|
$I->see('お届け先(1)', '#shopping-form > div > div.ec-orderRole__detail > div.ec-orderDelivery > div:nth-child(2)'); |
|
@@ 816-826 (lines=11) @@
|
| 813 |
|
$compared = strnatcmp($customer->getName02(), $nameMei); |
| 814 |
|
} |
| 815 |
|
// 上下それぞれで名前、商品個数を設定 |
| 816 |
|
if ($compared < 0) { |
| 817 |
|
$quantity1 = $shipping1_quantity; |
| 818 |
|
$quantity2 = $shipping2_quantity; |
| 819 |
|
$name1 = $customer->getName01(); |
| 820 |
|
$name2 = $nameSei; |
| 821 |
|
} else { |
| 822 |
|
$quantity1 = $shipping2_quantity; |
| 823 |
|
$quantity2 = $shipping1_quantity; |
| 824 |
|
$name1 = $nameSei; |
| 825 |
|
$name2 = $customer->getName01(); |
| 826 |
|
} |
| 827 |
|
|
| 828 |
|
// 複数配送設定ができていることを確認 |
| 829 |
|
$I->see('お届け先(1)', '#shopping-form > div > div.ec-orderRole__detail > div.ec-orderDelivery > div:nth-child(2)'); |