If you are using WooCommerce you can override the cart page template. Then you can design your cart page as you want.
- Just create a folder called “woocommerce” inside your child theme/ theme
- Inside “woocommerce” folder create folder called “cart” and copy the file cart-empty.php from woocommerce (plugin) > templates > cart and paste inside your child theme/theme > woocommerce > cart
- Then design the template as you want.
Note: if you are good at code then you can try the above steps.
Hopefully, these steps will be helpful for you.
Thread Starter
leroy
(@leroytuttle)
Unfortunately this went right over my head, I am not a coder and do not understand how you make a folder in a child theme, much less no nothing about templates..
but thanks
Thread Starter
leroy
(@leroytuttle)
and also I have a great CSS code however, I don’t have a empty-cart php file in my functions php, woo-commerce cart php and I noticed you can change it there, but I only have cart php.
I tired putting the CSS code in cart php with no results, nor can I add the CSS to the cart page itself.
Thread Starter
leroy
(@leroytuttle)
There’s only 1 video on youtube how to do it but it’s in hindu. So it must be a pain to do because I can’t find any info on doing this. All info out there is change checkout/cart page and flush out permalinks for empty cart issues. I tried the code snippet thing but nadda. Also this doesn’t work
https://divi.space/wordpress-and-divi-code-snippets/customize-woocommerce-empty-shopping-cart-page/
anything I add to my functions php does nothing…
just sayin..
Thread Starter
leroy
(@leroytuttle)
If there is anybody out there that has a solution to this because I just read on a site about this that it’s very hard to do. As no php code does anything in the functions php.
Thanks