Hi,
I have tried a few different CSS tweaks to change this, but still can’t get it right.
Is there any way to change the ‘view cart’ and ‘checkout’ buttons in the dropdown ajax woocommerce cart. I would like it to just say ‘Continue To Booking’ which links to the checkout. How would I go about doing this? Here is what I have in mind:
Thanks for your help
Harry
UPDATE: I have made it look a lot better now, just linking to the cart instead of the checkout which is fine.
How would I go about changing the text to say ‘Book Your Tickets’ instead of View cart?
Many Thanks
Harry
Hi,
Thank you for using Enfold.
This is possible but you have override the mini-cart.php template in the child theme. Create a directory called woocommerce > cart in the child theme then copy the mini-cart.php file inside. Edit the file, look for this code around line 76.
<p class="woocommerce-mini-cart__buttons buttons"><?php do_action( 'woocommerce_widget_shopping_cart_buttons' ); ?></p>
Replace it with:
<p class="woocommerce-mini-cart__buttons buttons"><?php echo '<a href="' . esc_url( wc_get_cart_url() ) . '" class="button wc-forward">' . esc_html__( 'Continue To Booking', 'woocommerce' ) . '</a>'; ?></p>
You can find the original mini-cart.php file in the plugins > woocommerce > templates > cart folder.
Best regards,
Ismael
That seems to have solved it! Thanks for your help Ismael, great support as always.
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Vinay