Hi Tony !
In the current version, when users click on Buy More button, they will be redirected the the last category page (display list of documents within a category) so that users can buy more documents from that category (this makes sense because we redirect users to lastest page users browsed) .
In this case, I think you want your users to be redirected to categories page (which list all categories). If so, please follow the below steps :
1. Open the file components/com_dms/views/checkout/tmpl/cart.php .
2. Look at the code from line 672 to 676 :
Code:
function continueShopping() {
var form = document.adminForm ;
form.task.value = 'view_category';
form.submit();
}
Change it to
Code:
function continueShopping() {
location.href="index.php?option=com_dms&Itemid=" + <?php echo $this->Itemid; ?> ;
}
After that, It will work as expected .
Thanks,
Tuan