style updates
This commit is contained in:
@@ -292,7 +292,7 @@ class B2BPayments extends PaymentModule implements PrestaShop\PrestaShop\Core\Mo
|
||||
|
||||
if ($hookName == 'breadcrumb_price_visibility_switch') {
|
||||
if ($this->isCustomerB2B(null)) {
|
||||
return $this->fetch('module:' . $this->name . '/views/templates/hook/breadcrumb_price_visibility_switch.tpl');
|
||||
return $this->fetch('module:' . $this->name . '/views/templates/hook/breadcrumb_price_display_switcher.tpl');
|
||||
}
|
||||
return '';
|
||||
}
|
||||
@@ -306,7 +306,7 @@ class B2BPayments extends PaymentModule implements PrestaShop\PrestaShop\Core\Mo
|
||||
}
|
||||
$this->smarty->assign($this->getWidgetVariables($hookName, $configuration));
|
||||
if ($hookName == 'breadcrumb') {
|
||||
return $this->fetch('module:' . $this->name . '/views/templates/hook/breadcrumb.tpl');
|
||||
return $this->fetch('module:' . $this->name . '/views/templates/hook/breadcrumb_payment_switcher.tpl');
|
||||
}
|
||||
|
||||
return $this->fetch('module:' . $this->name . '/views/templates/hook/b2b_switch.tpl');
|
||||
|
||||
Reference in New Issue
Block a user