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 = '11957'
$data = array(
'ip' => '18.97.9.175',
'product_id' => '11957'
)
$pids = '11957'
$product_info = array(
'Product' => array(
'id' => '11957',
'category_id' => '0',
'slug' => '',
'name' => 'Metal Painted Coconut Ganesh 1.5 inch (Pack of 2pc)',
'published' => false,
'sort_order' => '1',
'is_new' => false,
'stock_qty' => '0',
'view_info' => '0',
'visit_count' => '0',
'created' => '2019-02-21 05:55:34',
'modified' => '2021-07-01 12:38:26'
),
'Category' => array(
'id' => null,
'parent_id' => null,
'slug' => null,
'name' => null,
'published' => null,
'sort_order' => null,
'created' => null,
'modified' => null
),
'ProductDescription' => array(
'id' => '1989',
'product_id' => '11957',
'image' => 'product_1550728534.jpeg',
'tag_line' => '',
'short_description' => '',
'description' => '',
'design_no' => '2679',
'gross_price' => '190.00',
'discount' => '18',
'final_price' => '156.00',
'quantity' => '1',
'weight' => '150 Gram',
'size' => '4cm Height, 4cm Length, 3cm Width',
'p_height' => '4.00',
'p_weight' => '4.00',
'p_length' => '3.00',
'volume' => '0.01',
'minimum_quantity' => null,
'material' => 'Metal',
'packing' => 'Box Packing',
'meta_title' => 'Metal Painted Coconut Ganesh 1.5 inch (Pack of 2pc)',
'meta_description' => 'Indian Crafts offering metal handcrafted and hand painted coconut designed Ganesh statue in size of 1.5 inch height: Product code 2679 at Rs.246 | Handicraftsinindia.in.',
'meta_keyword' => null,
'created' => '2019-02-21 05:55:35',
'modified' => '2021-07-01 12:38:26'
),
'ProductCategory' => array(
(int) 0 => array(
'id' => '35658',
'product_id' => '11957',
'category_id' => '45'
)
),
'ProductImage' => array(
(int) 0 => array(
'id' => '1258',
'product_id' => '11957',
'image' => 'img15507285341.jpeg',
'created' => '2019-02-21 05:55:34',
'modified' => '2019-02-21 05:55:34'
),
(int) 1 => array(
'id' => '1259',
'product_id' => '11957',
'image' => 'img15507285342.jpeg',
'created' => '2019-02-21 05:55:34',
'modified' => '2019-02-21 05:55:34'
)
),
'Review' => array(),
'MostVisitProduct' => array()
)
$pro_size = '4cm Height, 4cm Length, 3cm Width'
$category_name = 'Metal Crafts'
$product_categories = array(
'Category' => array(
'id' => '45',
'parent_id' => '0',
'slug' => 'metal-crafts',
'name' => 'Metal Crafts',
'published' => '1',
'sort_order' => '5',
'created' => '2016-07-05 10:40:25',
'modified' => '2019-08-20 07:45:44'
)
)
$related_catagor = array()
$parent_categoryname = ''
$parent_cat_id = '45'
$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