This topic has 8 replies, 2 voices, and was last updated 1 years, 9 months ago ago by Niddy
Hi
Just need to ask a couple of questions regards the layout of Multistep cart / checkout from within theme options -> woo -> Basket/Checkout layout.
Please see private area due to the fact the site is shown.
Thanks for any help.
Hello, Niddy,
“The checkout page is correct and I just want to know how I can make the cart page the same please?” – it is a good idea to have it not just for you but make us implement it globally !
P.S. we already uploaded such improves on your website -> https://prnt.sc/wwhAvxuv7mGM
“how I hide this please” – You may add next tweak snippet to you child-theme/functions.php
// return no cross-sell ids to hide the cross-sell products on cart/checkout pages
add_filter('woocommerce_cart_crosssell_ids', function() {
return [];
});
otherwise, you may make more changes but for that case, you should copy xstore/woocommerce/cart/cart.php to xstore-child/woocommerce/cart/cart.php and make your changes (adding some content blocks, removing some content)
“And is it possible for me to add a custom static block somewhere” – – for this case you may add next code snippet
add_action('woocommerce_after_cart', function() {
echo do_shortcode('[block id="5148"]');
});
https://prnt.sc/CNsqWx8Z9AUd
or if it is not good placement for your need then you should copy xstore/woocommerce/cart/cart.php to xstore-child/woocommerce/cart/cart.php and make your changes (adding some content blocks, remove some content)
“So could you please clarify the css to target both the cart / checkout page if I wanted to style the css class “#shipping_method label” please?” – you may just use #shipping_method label in your CSS
We hope this information is helpful.
Kind Regards,
8theme team
Hiya
Wow – what a thorough response. Thank you.
One query though, I want to style the shipping method differently on cart to checkout. So ideally I wanted the css to specifically target the cart and the checkout page as it’s the same class on both.
Thanks again. You guys are the best ?
Hello, Niddy,
You’re welcome!
For code on the Cart page use .woocommerce-cart
and for the Checkout .woocommerce-checkout
Kind Regards,
8theme team
Please remove images as it shows a real address.
Thanks!!
@rose-tyler
Hello, Niddy,
Sorry. I’ve moved the screenshot to the Private Content area.
Kind Regards,
8theme team
Thanks – again, really appreciate all your help – works a treat 🙂
You guys rock!
Tagged: cart, checkout, layout, multistep, persuasive, woocommerce, wordpress
The issue related to '‘Couple of queries regards the cart / checkout layout using Multistep’' has been successfully resolved, and the topic is now closed for further responses