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 = '12683'
$data = array(
'ip' => '216.73.216.13',
'product_id' => '12683'
)
$pids = '12683'
$product_info = array(
'Product' => array(
'id' => '12683',
'category_id' => '0',
'slug' => '',
'name' => 'Lac Beaded Photo Frame',
'published' => true,
'sort_order' => '1',
'is_new' => false,
'stock_qty' => '1',
'view_info' => '0',
'visit_count' => '0',
'created' => '2021-04-11 09:26:52',
'modified' => '2021-06-26 06:13:51'
),
'Category' => array(
'id' => null,
'parent_id' => null,
'slug' => null,
'name' => null,
'published' => null,
'sort_order' => null,
'created' => null,
'modified' => null
),
'ProductDescription' => array(
'id' => '2715',
'product_id' => '12683',
'image' => 'product_1618133212.jpeg',
'tag_line' => 'Lac Photo Frame',
'short_description' => '',
'description' => '<p>
This is lac beaded photo frame, its size is 26cm Height, 21cm Width and weight is 250 grams. It is made from wood and decorated with lac, beads and other decorative accessories. 7x 5 inch photo can be placed in this frame. This photo frame can make a unique gift for yourself or anyone on your list.</p>
',
'design_no' => '3403',
'gross_price' => '490.00',
'discount' => '20',
'final_price' => '392.00',
'quantity' => '1',
'weight' => '250 Grams',
'size' => '26cm Height, 21cm Width',
'p_height' => '26.00',
'p_weight' => '21.00',
'p_length' => '5.00',
'volume' => '0.68',
'minimum_quantity' => null,
'material' => 'Wood',
'packing' => 'Box Packing',
'meta_title' => null,
'meta_description' => null,
'meta_keyword' => null,
'created' => '2021-04-11 09:26:53',
'modified' => '2021-05-25 05:05:10'
),
'ProductCategory' => array(
(int) 0 => array(
'id' => '34146',
'product_id' => '12683',
'category_id' => '88'
)
),
'ProductImage' => array(
(int) 0 => array(
'id' => '3739',
'product_id' => '12683',
'image' => 'img16181332121.jpeg',
'created' => '2021-04-11 09:26:52',
'modified' => '2021-04-11 09:26:52'
),
(int) 1 => array(
'id' => '3740',
'product_id' => '12683',
'image' => 'img16181332122.jpeg',
'created' => '2021-04-11 09:26:52',
'modified' => '2021-04-11 09:26:52'
),
(int) 2 => array(
'id' => '3752',
'product_id' => '12683',
'image' => 'img16219191101.jpeg',
'created' => '2021-05-25 05:05:10',
'modified' => '2021-05-25 05:05:10'
)
),
'Review' => array(),
'MostVisitProduct' => array()
)
$pro_size = '26cm Height, 21cm Width'
$category_name = 'Photo Frame'
$product_categories = array(
'Category' => array(
'id' => '88',
'parent_id' => '0',
'slug' => null,
'name' => 'Photo Frame',
'published' => '1',
'sort_order' => '14',
'created' => '2017-06-11 13:10:05',
'modified' => '2021-06-26 14:28:28'
)
)
$related_catagor = array()
$parent_categoryname = ''
$parent_cat_id = '88'
$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