How to modify "View Shopping Cart" at "/checkout/cart"



  • I am trying to modify the html to show some custom information. I want to modify the page found when you click "View Shopping Cart" from the mini-cart dropdown. It is the route located at "/checkout/cart". Can you point me to where what blade I can modify to make my customizations?



  • Hi @croeber,

    There is a file in location 'packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/mini-cart.blade.php'.

    Make your changes in this file and then run this command to get your changes reflected.

    php artisan vendor:publish --all --force
    

    Important Note: There are two themes in the package. If you are doing changes in the default theme's checkout page. Then do you changes in this file,
    'packages/Webkul/Shop/src/Resources/views/checkout/cart/mini-cart.blade.php'.

    Summary:
    Velocity Theme: 'packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/mini-cart.blade.php'
    Default Theme: 'packages/Webkul/Shop/src/Resources/views/checkout/cart/mini-cart.blade.php'



  • Thanks. This works. Love the framework by the way.


Log in to reply