Code Context $this->set('category_parent_id',$product_categories['CategorySubcategory'][0]['parent_id']);
}
if(!empty($product_categories) && $product_categories['CategorySubcategory'][0]['parent_id'] > 0) {
$product_id = '12307'
$data = array(
'ip' => '216.73.216.238',
'product_id' => '12307'
)
$pids = '12307'
$product_info = array(
'Product' => array(
'id' => '12307',
'category_id' => '0',
'slug' => '',
'name' => 'Elegant Carved Elephant Statue – 8cm Height',
'published' => true,
'sort_order' => '152',
'is_new' => false,
'stock_qty' => '45',
'view_info' => '0',
'visit_count' => '0',
'created' => '2019-12-20 13:18:33',
'modified' => '2021-05-25 05:23:02'
),
'Category' => array(
'id' => null,
'parent_id' => null,
'slug' => null,
'name' => null,
'published' => null,
'sort_order' => null,
'created' => null,
'modified' => null
),
'ProductDescription' => array(
'id' => '2339',
'product_id' => '12307',
'image' => 'product_1617185493.jpeg',
'tag_line' => 'Wood Carving Elephant ',
'short_description' => '',
'description' => '<div>
Elegant Carved Elephant Statue – 8cm Height will add a grace to your living room. This elephant statue is made of white wood with intricate details.</div>
',
'design_no' => '3028',
'gross_price' => '470.00',
'discount' => '15',
'final_price' => '400.00',
'quantity' => '1',
'weight' => '150 Gram',
'size' => '10cm Length, 8cm Height, 6cm Width',
'p_height' => '10.00',
'p_weight' => '8.00',
'p_length' => '6.00',
'volume' => '0.12',
'minimum_quantity' => null,
'material' => 'Wood',
'packing' => 'Box Packing',
'meta_title' => 'Elegant Carved Elephant Statue – 8cm Height',
'meta_description' => '',
'meta_keyword' => null,
'created' => '2019-12-20 13:18:33',
'modified' => '2021-05-25 05:23:02'
),
'ProductCategory' => array(
(int) 0 => array(
'id' => '34163',
'product_id' => '12307',
'category_id' => '71'
)
),
'ProductImage' => array(
(int) 0 => array(
'id' => '3696',
'product_id' => '12307',
'image' => 'img16171854931.jpeg',
'created' => '2021-03-31 10:11:33',
'modified' => '2021-03-31 10:11:33'
),
(int) 1 => array(
'id' => '3769',
'product_id' => '12307',
'image' => 'img16219201821.jpeg',
'created' => '2021-05-25 05:23:02',
'modified' => '2021-05-25 05:23:02'
)
),
'Review' => array(),
'MostVisitProduct' => array()
)
$pro_size = '10cm Length, 8cm Height, 6cm Width'
$category_name = 'Elephant Statue '
$product_categories = array(
'Category' => array(
'id' => '71',
'parent_id' => '0',
'slug' => null,
'name' => 'Elephant Statue ',
'published' => '1',
'sort_order' => '8',
'created' => '2016-07-16 08:21:20',
'modified' => '2021-03-25 11:25:10'
)
)
$related_catagor = array()
$parent_categoryname = ''
$parent_cat_id = '71'
$category_parent_id = null
ProductsController::pro_info() - APP/Controller/ProductsController.php, line 938
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108
Leave a Comment
Hey, so you decided to leave a comment! That’s great. Just fill in the required fields and hit submit. Note that your comment will need to be reviewed before it’s published