Add breadcrumbs on my acount pages

This commit is contained in:
Abhishek Kumar
2023-08-09 13:20:38 +05:30
parent ccace94c38
commit c5c346e2c3
7 changed files with 23 additions and 2 deletions

View File

@@ -37,8 +37,9 @@ class OrderFollowControllerCore extends FrontController
*/
public function initContent()
{
parent::initContent();
$this->show_breadcrump = true;
parent::initContent();
if (isset($this->context->customer->id) && $this->context->customer->id) {
$ordersReturns = OrderReturn::getOrdersReturn($this->context->customer->id, Tools::getValue('id_order'));
$this->context->smarty->assign('ordersReturns', $ordersReturns);