Cart & Checkout onepage - by Pawel - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 5 years, 4 months ago ago by Olga Barlow

  • Avatar: Pawel
    Pawel
    Participant
    June 21, 2019 at 12:17

    Hello, I’ve made some changes in cart.php and form-checkout.php to make them one page view. Everything is ok but i cant get empty cart message to show… I have resolved it with function that redirect if cart is empty but i would like to write code in cart or form-checkout file to show original empty cart message.

    In checkout i’ve only added shortcode to display cart:

    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 
    ?>
    
    <?php 
    if ( is_wc_endpoint_url( 'order-received' ) ) return;
    echo do_shortcode('[woocommerce_cart]'); 
     ?>

    and in cart file I’ve deleted some lines which were displaying info table on right and coupon button.

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 21, 2019 at 12:28

    Hello,

    Our theme uses the default WooCommerce functionality for the cart/checkout. If you want to change some default WooCommerce features contact WooCommerce support or submit customization request here. We can help you with existing theme settings only, additional customization is outside the scope of our support, sorry.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.