Support » Fixing WordPress » empty cart page

  • leroy

    (@leroytuttle)


    hi,
    My empty cart page is boring. I tried to do things in block on the page but it still looks boring. I notice these great pages that people say to add Code to certain pages, did that with no results. Most plugin’s just add a button. Is there a way to design an empty cart page when your using the woo commerce cart page.

    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    wpforce

    (@wpforce)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘empty cart page’ is closed to new replies.