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: 7953.0
-tax_rate: false
-id: 86
-code: "AKR-GAS-CYLINDER/FIXED"
-stock: "1"
-stock_unlimited: false
-sale_limit: null
-price01: null
-price02: "7230.00"
-delivery_fee: null
-visible: true
-create_date: DateTime @1670920126 {#4776
date: 2022-12-13 17:28:46.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1716873218 {#5263
date: 2024-05-28 14:13:38.0 Asia/Tokyo (+09:00)
}
-currency_code: "JPY"
-point_rate: null
-ProductStock: Eccube\Entity\ProductStock {#5717
-product_class_id: null
-id: 86
-stock: "1"
-create_date: DateTime @1670920126 {#5794
date: 2022-12-13 17:28:46.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1716873218 {#5798
date: 2024-05-28 14:13:38.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 => "1"
]
-stockUnlimiteds: array:1 [
0 => false
]
-price01: []
-price02: array:1 [
0 => "7230.00"
]
-price01IncTaxs: []
-price02IncTaxs: array:1 [
0 => 7953.0
]
-codes: array:1 [
0 => "AKR-GAS-CYLINDER/FIXED"
]
-classCategories1: []
-classCategories2: []
-className1: null
-className2: null
-id: 30
-name: "回転ロック機能つき昇降ガスシリンダー"
-note: null
-description_list: null
-description_detail: """
回転機構を固定して高さ調整のみを可能としたガスシリンダーです。\n
AKRacingチェアに通常添付されている昇降シリンダーと交換してご利用いただくことができます。\n
座面を回転させずに使用したい場合は本製品をお求めください。\n
チェアを組み立てた後ではシリンダーの取り外しが難しい場合があるため、チェアご購入時に合わせてお求めください。\n
\n
[製品保証について]\n
本製品の保証は初期不良発生時の交換対応のみとなります
"""
-search_word: null
-free_area: null
-create_date: DateTime @1670920126 {#4775
date: 2022-12-13 17:28:46.0 Asia/Tokyo (+09:00)
}
-update_date: DateTime @1716873218 {#4765
date: 2024-05-28 14:13:38.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 {#6024
-snapshot: array:5 [ …5]
-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 {#6027
-elements: array:5 [
0 => Eccube\Entity\ProductImage {#6022
-id: 289
-file_name: "1213174527_63983ba71e83c.png"
-sort_no: 0
-create_date: DateTime @1670921131 {#5261
date: 2022-12-13 17:45:31.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#6020
+__isInitialized__: false
-id: 2
-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
}
}
1 => Eccube\Entity\ProductImage {#6043
-id: 282
-file_name: "1213172744_63983780c5398.jpg"
-sort_no: 1
-create_date: DateTime @1670920126 {#6031
date: 2022-12-13 17:28:46.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#6020 …2}
}
2 => Eccube\Entity\ProductImage {#6046
-id: 283
-file_name: "1213172744_63983780d70c2.jpg"
-sort_no: 2
-create_date: DateTime @1670920126 {#6045
date: 2022-12-13 17:28:46.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#6020 …2}
}
3 => Eccube\Entity\ProductImage {#6048
-id: 284
-file_name: "1213172744_63983780ea41c.jpg"
-sort_no: 3
-create_date: DateTime @1670920126 {#6047
date: 2022-12-13 17:28:46.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#6020 …2}
}
4 => Eccube\Entity\ProductImage {#6050
-id: 286
-file_name: "1213172745_639837811f7b0.jpg"
-sort_no: 4
-create_date: DateTime @1670920126 {#6049
date: 2022-12-13 17:28:46.0 Asia/Tokyo (+09:00)
}
-Product: Eccube\Entity\Product {#5226}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#6020 …2}
}
]
}
#initialized: true
}
-ProductTag: Doctrine\ORM\PersistentCollection {#6018
-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 {#6019
-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/dp/B0B1D5WG77"
+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: Proxies\__CG__\Eccube\Entity\DeliveryDuration {#6011
+__isInitialized__: false
-id: 4
-name: null
-duration: 0
-sort_no: null
…2
}
-Creator: Proxies\__CG__\Eccube\Entity\Member {#5739 …2}
-delivery_date_days: 7
-QdProductClasses: Doctrine\ORM\PersistentCollection {#6010
-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 {#6009
-elements: []
}
#initialized: false
}
-ProductClassRegularCycle: Doctrine\ORM\PersistentCollection {#6025
-snapshot: []
-owner: Eccube\Entity\ProductClass {#5706}
-association: array:15 [ …15]
-em: Doctrine\ORM\EntityManager {#619 …11}
-backRefFieldName: "ProductClass"
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#6008 …}
-isDirty: false
#collection: Doctrine\Common\Collections\ArrayCollection {#6026
-elements: []
}
#initialized: false
}
-RegularDiscount: null
+"defult_delivery_date_days": 7
}