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 = '12426'
$data = array(
'ip' => '3.238.24.209',
'product_id' => '12426'
)
$pids = '12426'
$product_info = array(
'Product' => array(
'id' => '12426',
'category_id' => '0',
'slug' => '',
'name' => 'Vintage Decorative Mirror',
'published' => true,
'sort_order' => '1',
'is_new' => false,
'stock_qty' => '12',
'view_info' => '0',
'visit_count' => '0',
'created' => '2020-02-21 12:14:53',
'modified' => '2021-06-01 05:18:09'
),
'Category' => array(
'id' => null,
'parent_id' => null,
'slug' => null,
'name' => null,
'published' => null,
'sort_order' => null,
'created' => null,
'modified' => null
),
'ProductDescription' => array(
'id' => '2458',
'product_id' => '12426',
'image' => 'product_1612695383.jpeg',
'tag_line' => 'Table Mirror, Handmade, Metal, India, ',
'short_description' => '',
'description' => '<p>
This vintage decorative mirror is offered by Indian crafts from Jaipur. This mirror is an elegant choice to decorate your living space, dressing table and make you feel like royalty. This mirror is made of good quality metal and glass also it has long lasting golden polish. You can add a touch of vintage charm to your home decor. This is an ideal gift item for your loving one.</p>
',
'design_no' => '3146',
'gross_price' => '1155.00',
'discount' => '25',
'final_price' => '866.00',
'quantity' => '1',
'weight' => '1200 Gram',
'size' => '38cm Height, 26cm Width',
'p_height' => '38.00',
'p_weight' => '26.00',
'p_length' => '12.00',
'volume' => '2.96',
'minimum_quantity' => null,
'material' => 'Metal',
'packing' => 'Box Packing',
'meta_title' => 'Vintage Decorative Mirror',
'meta_description' => '',
'meta_keyword' => null,
'created' => '2020-02-21 12:14:53',
'modified' => '2021-06-01 05:18:09'
),
'ProductCategory' => array(
(int) 0 => array(
'id' => '34694',
'product_id' => '12426',
'category_id' => '53'
)
),
'ProductImage' => array(
(int) 0 => array(
'id' => '2742',
'product_id' => '12426',
'image' => 'img16126953821.jpeg',
'created' => '2021-02-07 10:56:23',
'modified' => '2021-02-07 10:56:23'
),
(int) 1 => array(
'id' => '2743',
'product_id' => '12426',
'image' => 'img16126953832.jpeg',
'created' => '2021-02-07 10:56:23',
'modified' => '2021-02-07 10:56:23'
),
(int) 2 => array(
'id' => '4232',
'product_id' => '12426',
'image' => 'img16225246891.jpeg',
'created' => '2021-06-01 05:18:09',
'modified' => '2021-06-01 05:18:09'
)
),
'Review' => array(),
'MostVisitProduct' => array()
)
$pro_size = '38cm Height, 26cm Width'
$category_name = 'Mirror '
$product_categories = array(
'Category' => array(
'id' => '53',
'parent_id' => '0',
'slug' => null,
'name' => 'Mirror ',
'published' => '1',
'sort_order' => '11',
'created' => '2016-07-12 13:48:25',
'modified' => '2019-09-16 11:42:46'
)
)
$related_catagor = array()
$parent_categoryname = ''
$parent_cat_id = '53'
$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