Test Case

This commit is contained in:
devansh bawari 2020-11-18 09:48:28 +05:30
parent 130ae68d33
commit 2aa27e5232
1 changed files with 6 additions and 6 deletions

View File

@ -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');
}); // });
} // }
} }
} }