Answer the question
In order to leave comments, you need to log in
Can I replace the cart page with my own or is it better not to do this?
The problem is this. If you display the cart through the shortcode, as by default, then it turns into . There is no way to remove this wrapper, except for the option of manually editing the code in class-wc-shortcodes.php of the shortcode_wrapper method. Naturally, this is a very bad option, because. When you install a store update, everything will fly off. I want the main content to be wrapped in . I don't want to leave an extra wrap. So the question is - to score on this wrapper and add your own inside it, or create page-cart.php and completely manage the code with your hands? Or will there be problems in the future?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question