This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {#1216 | |
| +"AccountsInfo": {#1217 | |
| +"AccountInfo": array:36 [ | |
| 0 => {#1218 | |
| +"Id": 141385416 | |
| +"Name": "2715400 Ontario Inc" | |
| +"Number": "F110L1NN" | |
| +"AccountLifeCycleStatus": "Active" | |
| +"PauseReason": null | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. .idea не в игноре | |
| 2. Код не соответсвует PSR https://www.php-fig.org/psr/ . Поставь себе php Code Sniffer и настрой связку с PhpStorm , поможет с помощью комбинации кнопок приводит оступы и тд к стандарту. Стандарты - имеется ввиду оступы,пробелы перед '=' названия переменных(нужен canelCase вместо snake_case) и тд. | |
| 3. Хз зачем используешь экраниерование. Почему не узать двойные кавычки? | |
| 'Field \'store\' was not found' | |
| "Field 'store' was not found" | |
| 4. Я б код контроллеров оборачивал в try catch для обработки всех кейсов. | |
| 5. Для читабельности кода , нужно старатся избегать большое кол-во вложенностей. Например | |
| foreach ($product['variants'] as $variant) { | |
| $variant_image_id = !empty($variant['image_id']) ? $variant['image_id'] : null; | |
| $variant_image_src = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "destination": { | |
| "name": "schaetzl" | |
| }, | |
| "orderData": { | |
| "sourceOrderId": 1841399726133, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "destination": { | |
| "name": "schaetzl" | |
| }, | |
| "orderData": { | |
| "sourceOrderId": 2611050414168, | |
| "items": [ | |
| { | |
| "sku": "pn-poster", | |
| "quantity": 2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hi Andrew, | |
| Thanks for your email. | |
| The orderheight for #1009 seems wrong. With two posters and 4 magnetic frames it should be: | |
| 1 + 1 + round( 4 / 6 ) * 20 = 22 | |
| However, I can also see that my JSON contains the wrong package type. It should be JA-Pack-PN-50x70-flat-M | |
| I have enclosed a new JSON example for the #1009 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "destination": { | |
| "name": "schaetzl" | |
| }, | |
| "orderData": { | |
| "sourceOrderId": 2611093700696, | |
| "items": [ | |
| { | |
| "sku": "pn-poster", | |
| "quantity": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "destination": { | |
| "name": "schaetzl" | |
| }, | |
| "orderData": { | |
| "sourceOrderId": 2610965577816, | |
| "items": [ | |
| { | |
| "sku": "pn-poster", | |
| "quantity": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "destination": { | |
| "name": "schaetzl" | |
| }, | |
| "orderData": { | |
| "sourceOrderId": 2610890473560, | |
| "items": [ | |
| { | |
| "sku": "pn-poster", | |
| "quantity": 3, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "destination": { | |
| "name": "schaetzl" | |
| }, | |
| "orderData": { | |
| "sourceOrderId": 2610900893784, | |
| "items": [ | |
| { | |
| "sku": "pn-poster", | |
| "quantity": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "destination": { | |
| "name": "schaetzl" | |
| }, | |
| "orderData": { | |
| "sourceOrderId": 12345678, | |
| "items": [{ | |
| "sku": "pn-poster", | |
| "unitWeight": 88, | |
| "quantity": 1, |
NewerOlder