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