Hi!
We have a Woocommerce site.
The shop page we want, is the list of products (that are listed by default on the shop page), with some content above, and some content below, that we want to add with cornerstone.
If we click “edit with cornerstone” it goes to cornerstone, but we cant add any content. I think is not possible to add cornerstone content on the woocommerce shop page?
We tried by inserting the [product_page id=‘xx’] shortcode into a normal cornerstone page, but the products shop process doesnt work.
So, we thought about a solution.
Create the content that we want to add on two separate pages : one for the content that goes before the shop list, and another for the content that goes below the shop list.
We don’t however, know how to add that page content into the shop php “woocommerce.php”.
Currently we are using the following:
$id = '1860';
$p = get_page($id);
echo apply_filters('the_content', $p->post_content);
But the content does not has all the content that shows up when we view the actual page.
For example, it lacks the x-container, and other cornerstone related elements.
Our question is, what is the best way to include cornerstone pages content within the woocommerce shop page.