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

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