Dumped Contents
In
ProductController.php
line 252:
}
foreach($Product->getProductClasses() as $ProductClasse){
dump( property_exists($ProductClasse , 'defult_delivery_date_days') );
if( property_exists($ProductClasse , 'defult_delivery_date_days') ){
}else{
false
In
ProductController.php
line 258:
}else{
$ProductClasse->defult_delivery_date_days = $ProductClasse->getDeliveryDateDays();
}
dump($ProductClasse);
}
Eccube\Entity\ProductClass {#5706
-price01_inc_tax: 0.0
-price02_inc_tax: 6578.0
-tax_rate: false
-id: 71
-code: "AKR-PU-WHEELS-BLACK"
-stock: "10"
-stock_unlimited: false
-sale_limit: null
-price01: null
-price02: "5980.00"
-delivery_fee: null
-visible: true
-create_date: DateTime @1640063912 {#4776
date: 2021-12-21 14:18:32.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1731463028 {#5263
date: 2024-11-13 10:57:08.0 Asia/Tokyo (+09:00)
}
-currency_code: "JPY"
-point_rate: null
-ProductStock: Eccube\Entity\ProductStock {#5717
-product_class_id: null
-id: 71
-stock: "10"
-create_date: DateTime @1640063912 {#5794
date: 2021-12-21 14:18:32.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1731463028 {#5798
date: 2024-11-13 10:57:08.0 Asia/Tokyo (+09:00)
}
-ProductClass: Eccube\Entity\ProductClass {#5706}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739
+__isInitialized__: false
-id: 3
-name: null
-department: null
-login_id: null
-plainPassword: null
-password: null
-salt: null
-sort_no: null
-two_factor_auth_key: null
-two_factor_auth_enabled: false
-create_date: null
-update_date: null
-login_date: null
-Work: null
-Authority: null
-Creator: null
…2
}
}
-TaxRule: null
-Product: Eccube\Entity\Product {#5226
-_calc: true
-stockFinds: array:1 [
0 => true
]
-stocks: array:1 [
0 => "10"
]
-stockUnlimiteds: array:1 [
0 => false
]
-price01: []
-price02: array:1 [
0 => "5980.00"
]
-price01IncTaxs: []
-price02IncTaxs: array:1 [
0 => 6578.0
]
-codes: array:1 [
0 => "AKR-PU-WHEELS-BLACK"
]
-classCategories1: []
-classCategories2: []
-className1: null
-className2: null
-id: 22
-name: "双輪キャスター"
-note: null
-description_list: null
-description_detail: """
・フローリングの床面を傷つけにくいPU製双輪キャスター\n
・大型キャスターでスムーズな転がり\n
\n
※ストッパー機能の無いタイプのキャスターです\n
\n
[製品保証について]\n
本製品の保証は初期不良発生時の交換対応のみとなります
"""
-search_word: null
-free_area: null
-create_date: DateTime @1640063912 {#4775
date: 2021-12-21 14:18:32.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1731463028 {#4765
date: 2024-11-13 10:57:08.0 Asia/Tokyo (+09:00)
}
-ProductCategories: Doctrine\ORM\PersistentCollection {#5645
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#4771 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5644
-elements: []
}
#initialized: false
}
-ProductClasses: Doctrine\ORM\PersistentCollection {#5740
-snapshot: array:1 [ …1]
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#4781 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5744
-elements: array:1 [
0 => Eccube\Entity\ProductClass {#5706}
]
}
#initialized: true
}
-ProductImage: Doctrine\ORM\PersistentCollection {#6014
-snapshot: array:4 [ …4]
-owner: Eccube\Entity\Product {#5226}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5090 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6017
-elements: array:4 [
0 => Eccube\Entity\ProductImage {#6012
-id: 207
-file_name: "1221143732_61c1681cedf13.jpg"
-sort_no: 0
-create_date: DateTime @1640065058 {#5261
date: 2021-12-21 14:37:38.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
}
1 => Eccube\Entity\ProductImage {#6021
-id: 203
-file_name: "1221141305_61c162612e744.jpg"
-sort_no: 1
-create_date: DateTime @1640063912 {#5995
date: 2021-12-21 14:18:32.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
}
2 => Eccube\Entity\ProductImage {#6035
-id: 204
-file_name: "1221141305_61c16261065d5.jpg"
-sort_no: 2
-create_date: DateTime @1640063912 {#6033
date: 2021-12-21 14:18:32.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
}
3 => Eccube\Entity\ProductImage {#6037
-id: 206
-file_name: "1221141305_61c162613dbd9.jpg"
-sort_no: 3
-create_date: DateTime @1640063912 {#6036
date: 2021-12-21 14:18:32.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
}
]
}
#initialized: true
}
-ProductTag: Doctrine\ORM\PersistentCollection {#6009
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5170 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6010
-elements: []
}
#initialized: true
}
-CustomerFavoriteProducts: Doctrine\ORM\PersistentCollection {#5643
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#4528 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5646
-elements: []
}
#initialized: false
}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
-Status: Proxies\__CG__\Eccube\Entity\Master\ProductStatus {#5709
+__isInitialized__: false
#id: 1
#name: null
#sort_no: null
…2
}
-ProductLayouts: Doctrine\ORM\PersistentCollection {#5710
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#3868 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5711
-elements: []
}
#initialized: false
}
+jan_code: null
+amazon_url: "https://www.amazon.co.jp/AKRacing-/dp/B09LTM8466/"
+direct_shop_url: null
+path_3d: null
+sale: false
+member: false
+warranty: false
-ProductOptions: Doctrine\ORM\PersistentCollection {#5741
-snapshot: []
-owner: Eccube\Entity\Product {#5226}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "Product"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#5712 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#5743
-elements: []
}
#initialized: false
}
-free_description_about_quantity: null
-free_description_about_selling_price: null
-free_description_of_payment_delivery: null
}
-SaleType: Proxies\__CG__\Eccube\Entity\Master\SaleType {#6003
+__isInitialized__: false
#id: 1
#name: null
#sort_no: null
…2
}
-ClassCategory1: null
-ClassCategory2: null
-DeliveryDuration: null
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
-delivery_date_days: 7
-QdProductClasses: Doctrine\ORM\PersistentCollection {#6002
-snapshot: []
-owner: Eccube\Entity\ProductClass {#5706}
-association: array:16 [ …16]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "ProductClass"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1804 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6001
-elements: []
}
#initialized: false
}
-ProductClassRegularCycle: Doctrine\ORM\PersistentCollection {#6015
-snapshot: []
-owner: Eccube\Entity\ProductClass {#5706}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "ProductClass"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6000 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6016
-elements: []
}
#initialized: false
}
-RegularDiscount: null
+"defult_delivery_date_days": 7
}