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 = '12708'
$data = array(
'ip' => '216.73.216.146',
'product_id' => '12708'
)
$pids = '12708'
$product_info = array(
'Product' => array(
'id' => '12708',
'category_id' => '0',
'slug' => '',
'name' => 'Beautiful Inlaid Marble Box ',
'published' => true,
'sort_order' => '1',
'is_new' => false,
'stock_qty' => '1',
'view_info' => '0',
'visit_count' => '0',
'created' => '2021-07-28 14:07:05',
'modified' => '2021-08-02 09:45:44'
),
'Category' => array(
'id' => null,
'parent_id' => null,
'slug' => null,
'name' => null,
'published' => null,
'sort_order' => null,
'created' => null,
'modified' => null
),
'ProductDescription' => array(
'id' => '2740',
'product_id' => '12708',
'image' => 'product_1627481225.jpeg',
'tag_line' => 'Marble Boxes',
'short_description' => '',
'description' => '',
'design_no' => '3428',
'gross_price' => '675.00',
'discount' => '20',
'final_price' => '540.00',
'quantity' => '250',
'weight' => '250 Grams',
'size' => '8cm length, 8cm width',
'p_height' => '8.00',
'p_weight' => '8.00',
'p_length' => '5.00',
'volume' => '0.08',
'minimum_quantity' => null,
'material' => 'Marble',
'packing' => 'Box Packing',
'meta_title' => null,
'meta_description' => null,
'meta_keyword' => null,
'created' => '2021-07-28 14:07:05',
'modified' => '2021-08-02 09:45:45'
),
'ProductCategory' => array(
(int) 0 => array(
'id' => '35773',
'product_id' => '12708',
'category_id' => '44'
)
),
'ProductImage' => array(
(int) 0 => array(
'id' => '4354',
'product_id' => '12708',
'image' => 'img16274812251.jpeg',
'created' => '2021-07-28 14:07:05',
'modified' => '2021-07-28 14:07:05'
),
(int) 1 => array(
'id' => '4367',
'product_id' => '12708',
'image' => 'img16278975441.jpeg',
'created' => '2021-08-02 09:45:45',
'modified' => '2021-08-02 09:45:45'
)
),
'Review' => array(),
'MostVisitProduct' => array()
)
$pro_size = '8cm length, 8cm width'
$category_name = 'Marble Handicrafts'
$product_categories = array(
'Category' => array(
'id' => '44',
'parent_id' => '0',
'slug' => null,
'name' => 'Marble Handicrafts',
'published' => '1',
'sort_order' => '6',
'created' => '2016-07-05 10:38:53',
'modified' => '2021-03-25 11:53:09'
)
)
$related_catagor = array()
$parent_categoryname = ''
$parent_cat_id = '44'
$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