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 = '12587'
$data = array(
'ip' => '18.97.9.172',
'product_id' => '12587'
)
$pids = '12587'
$product_info = array(
'Product' => array(
'id' => '12587',
'category_id' => '0',
'slug' => '',
'name' => 'Brass Floral Design Diya ',
'published' => true,
'sort_order' => '1',
'is_new' => false,
'stock_qty' => '3',
'view_info' => '0',
'visit_count' => '0',
'created' => '2021-02-14 11:06:58',
'modified' => '2021-08-03 08:20:50'
),
'Category' => array(
'id' => null,
'parent_id' => null,
'slug' => null,
'name' => null,
'published' => null,
'sort_order' => null,
'created' => null,
'modified' => null
),
'ProductDescription' => array(
'id' => '2619',
'product_id' => '12587',
'image' => 'product_1613300819.jpeg',
'tag_line' => 'Diya Brass Diya Pooja Diya Deepak ',
'short_description' => '',
'description' => '<p>
This is a floral design diya made of brass and copper. It is very beautiful in appearance. The size of this diya is 10cm Diameter and 5cm height. This diya design is also very attractive. There is also a lot of space in the lamp in which wick and ghee can be kept. This diya also adorns the temple of your home.</p>
',
'design_no' => '3307',
'gross_price' => '350.00',
'discount' => '15',
'final_price' => '298.00',
'quantity' => '1',
'weight' => '50 Gram',
'size' => '10cm Diameter',
'p_height' => '10.00',
'p_weight' => '10.00',
'p_length' => '5.00',
'volume' => '0.13',
'minimum_quantity' => null,
'material' => 'Metal',
'packing' => 'Box Packing',
'meta_title' => null,
'meta_description' => null,
'meta_keyword' => null,
'created' => '2021-02-14 11:06:59',
'modified' => '2021-05-30 05:28:34'
),
'ProductCategory' => array(
(int) 0 => array(
'id' => '34462',
'product_id' => '12587',
'category_id' => '84'
)
),
'ProductImage' => array(
(int) 0 => array(
'id' => '2983',
'product_id' => '12587',
'image' => 'img16133008181.jpeg',
'created' => '2021-02-14 11:06:59',
'modified' => '2021-02-14 11:06:59'
),
(int) 1 => array(
'id' => '2984',
'product_id' => '12587',
'image' => 'img16133008182.jpeg',
'created' => '2021-02-14 11:06:59',
'modified' => '2021-02-14 11:06:59'
),
(int) 2 => array(
'id' => '4022',
'product_id' => '12587',
'image' => 'img16223525141.jpeg',
'created' => '2021-05-30 05:28:34',
'modified' => '2021-05-30 05:28:34'
)
),
'Review' => array(),
'MostVisitProduct' => array()
)
$pro_size = '10cm Diameter'
$category_name = 'Diyas'
$product_categories = array(
'Category' => array(
'id' => '84',
'parent_id' => '0',
'slug' => null,
'name' => 'Diyas',
'published' => '1',
'sort_order' => '3',
'created' => '2016-07-23 10:01:42',
'modified' => '2021-06-26 14:12:37'
)
)
$related_catagor = array()
$parent_categoryname = ''
$parent_cat_id = '84'
$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