Do I work on cart PAGE or cart TEMPLATE?
-
Hi!
Working on rebuilding an existing classic site with WooCommerce to a block theme. I’m using Blur theme. So I had a question and first, found this: https://woocommerce.com/document/cart-checkout-blocks-status/
OK – so WooCommerce is moving towards blocks and explains how to remove the classic cart shortcode and replace it with the cart block. Sounds good.
What isn’t clear to me is, where do I do styling? On the cart PAGE? Or in the cart TEMPLATE?
From what I can tell, they contain the same content. If I change the content in the Cart PAGE, it seems to change in the Cart-TEMPLATE. This appears to be the case with Blur Theme, but I checked with Twenty Twenty-Three and it seemed the same with that too.
So the Template has the header and footers in them; the page doesn’t. But the “content” is the same. I’m working on a staging version of an existing site, so the Cart PAGE had the classic WooCommerce shortcode for the cart, plus some stuff above and below it. That all showed up when I went to the Editor > Templates > Page:Cart.
So does it matter where I make changes? Is working on page versus template better or not as good? (I assume it will be the same for the Checkout PAGE vs. TEMPLATE as well?)
Just want to be sure I’m not missing something –Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Do I work on cart PAGE or cart TEMPLATE?’ is closed to new replies.