@if (
request()->routeIs('shop.checkout.onepage.index')
&& (bool) core()->getConfigData('sales.payment_methods.paypal_smart_button.active')
)
@php
$clientId = core()->getConfigData('sales.payment_methods.paypal_smart_button.client_id');
$acceptedCurrency = core()->getConfigData('sales.payment_methods.paypal_smart_button.accepted_currencies');
@endphp
@pushOnce('scripts')
@endPushOnce
@endif