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.
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
Our mission is to help Internet businesses and their customers interact in a way that mirrors real-world customer experience: personal, human, and fun.
Upload your translation files
Lorem ipsum dolor sit amet consectetur adipisicing elitsed do
Love us as much as we love you?
If you love XStore theme and have something nice to say
don’t hesitate to tell about this! We’d appreciate if you could take a moment to give us 5-stars!