As a first step, do the following:
1) Remove the <X-Cart>/classes/XLite/Module/Tony/ProductsDemo/View/ItemsList/Product/Customer/ACustomer.php file as it does not do anything and it has Parse errors
2) Inside the \XLite\Module\Tony\ProductsDemo\View\ItemsList\Pro duct\Customer\AllProducts class replace this piece of code:
PHP Code:
protected static function getWidgetTarget()
{
return 'all_products';
}
with the next one:
PHP Code:
protected static function getWidgetTarget()
{
return 'main';
}
After that your products will be displayed on home page, while they will still have pagination and sorting options.
Please, let me know if it works as expected to you.
Tony.