Free
Install for free
php artisan module:install Cart
1.0.6 • Public • Published 4 years ago
Create a file name "checkout-footer.blade.php" in folder resources/views/themes/{theme-name}/inc/cart/
<?php
$checkoutFooter = getOption('checkout.footer');
?>
{!! $checkoutFooter !!}
Create an Option Editor name "checkout.footer" with your custom content
Create a file name "shipping-description.blade.php" in folder resources/views/themes/{theme-name}/inc/cart/
<?php
$shippingDescription = getOption('checkout.shipping.description');
?>
{!! $shippingDescription !!}
Create an Option Editor name "checkout.shipping.description" with your custom content
Create an Option Editor name "checkout.shipping.url" with your shipping policy url
Add this line to header
@view('cart.mini-cart-header')
Add this line to header
@view('cart.mini-cart')
Add this line to js section on product page.
@view('cart.add-to-cart-script')
Add this to product page.
<input type="hidden" id="productId" value="{{ $product['id'] }}">
<input type="hidden" id="isOption" value="{{ count($variants['variants']) > 0 ? 1 : 0 }}">
<input type="hidden" class="js-productSkuId" id="productSkuId" value="{{ request()->input('spid') }}">
Free
Install for free
php artisan module:install Cart