Test Case
This commit is contained in:
parent
130ae68d33
commit
2aa27e5232
|
|
@ -16,10 +16,10 @@ class EventServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
if (core()->getConfigData('sales.paymentmethods.paypal_smart_button.active')) {
|
||||
Event::listen('bagisto.shop.layout.body.after', static function(ViewRenderEventManager $viewRenderEventManager) {
|
||||
$viewRenderEventManager->addTemplate('paypal::checkout.onepage.paypal-smart-button');
|
||||
});
|
||||
}
|
||||
// if (core()->getConfigData('sales.paymentmethods.paypal_smart_button.active')) {
|
||||
// Event::listen('bagisto.shop.layout.body.after', static function(ViewRenderEventManager $viewRenderEventManager) {
|
||||
// $viewRenderEventManager->addTemplate('paypal::checkout.onepage.paypal-smart-button');
|
||||
// });
|
||||
// }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue