{{-- This code needs to be refactored to reduce the amount of PHP in the Blade template as much as possible. --}} @php $showCompare = (bool) core()->getConfigData('general.content.shop.compare_option'); $showWishlist = (bool) core()->getConfigData('general.content.shop.wishlist_option'); @endphp @pushOnce('scripts') @endPushOnce