Hi,
I would like to create a block on the product page with best-selling products from the same category.
This code has worked very well so far with Responsive theme und Energothemes but now with UniTheme it doesn't work anymore. what could it be?
I think there is a conflict with this file:
/app/addons/abt__unitheme2/schemas/block_manager/blocks.post.php
the code I have used so far :
app addons bestsellers schemas block_manager blocks.post.php
$schema['products']['content']['items']['fillings']['bestsellers'] = array (
'params' => array (
'bestsellers' => true,
'sales_amount_from' => 1,
'include_child_variations' => true,
'sort_by' => 'sales_amount',
'sort_order' => 'desc',
'request' => array (
'cid' => '%CATEGORY_ID'
),
'session' => array(
'cid' => '%CURRENT_CATEGORY_ID%'
)
),
);