Problem adding content to WooCommerce shop page

Hi.
I found this thread https://theme.co/apex/forum/t/cornerstone-woocommerce-shop-page-edit/17658 that suggests unlinking your shop page in order to add content to it through Cornerstone.

I have several questions:

I created a test page to practice with (so my shop would not be unlinked for very long while I worked out what the intro would look like). I copied the WooCommerce shortcode from the real shop page, and tried to put that same shortcode on my test page.

I can’t get anything to work. It acts like I haven’t added anything. I then found this thread https://theme.co/apex/forum/t/shortcode-gets-deleted-when-updating-page-using-pro/43174 that says to use a raw content element. So I tried that but the same thing keeps happening. (See screenshot.)

It also won’t let me move the classic raw content element to the correct section. It insists on landing in the first section and I can’t put it anywhere else.

Is this a bug or am I doing something wrong?

Also, it looks like you can actually add some content to the shop page not through Cornerstone but simply through the Wordpress edit section. Would you recommend that instead?

Hello There,

You are not supposed to edit the shop page because once you have assign a shop page, WooCommerce will automatically generate the product items in a grid layout shop page.

If you want to add a custom text, you may want to check out this thread as a reference: https://theme.co/apex/forum/t/customizing-shop-page-of-woocommerce/24460/13

Hope this helps.

I realize you are not supposed to edit the page that has already been assigned as the shop page, which is why I asked the questions that I asked.

Once again: Why can I not add the WooCommerce shortcode to a DIFFERENT page (not the page that has been assigned as the shop page). See above question for details as to what was not working.

And I read that you CAN edit the shop page through the Wordpress edit section but I know you don’t recommend doing that as a rule if you use Cornerstone. Please clarify.

(It’s dumb that you can’t add anything to the top of the shop page. First of all, it’s bad for presentation, and second, horrible for SEO.)

Hey There,

If you use WooCommerce shortcode inside a page built with Cornerstone, the shortcode should display. As long as your shortcode and other html contents is correct, it will display the shop items.

And base from your screenshot, you have copied Cornerstone shortcode inside a content area element which is not supported. Please be advised that once you created a page in Cornerstone, most of the elements information like the content or settings will be saved as a post meta. That is why, if you simply copy the resulting shortcode and paste it in another page, there will be no output display. It is important that you create the page in Cornerstone, add elements, insert WooCommerce shortcodes and saved it. If you would like to use a particular section or block, you can create it as a block then you can use it to another page.

"And I read that you CAN edit the shop page through the Wordpress edit section but I know you don’t recommend doing that as a rule if you use Cornerstone. Please clarify. "

  • Yes you can edit the shop page in WordPress edit section. You can make use of Cornerstone as well. The only thing that will happen is that when you view the page live, WooCommerce will parse the content and display both your custom content and the shop items.
    http://prntscr.com/kxtgnw
    http://prntscr.com/kxtgvs

Hope this helps.

I’m having a little trouble understanding your response as it relates to my question. Sorry.

This is what I did and it doesn’t work. If you look at my very first post in this thread, you will see that. Unless I am misunderstanding what you are telling me to do. Or are you saying that the shortcode I used is not WooCommerce shortcode? I took it from my actual shop page. Is that wrong?

Regarding this next comment from you, the shortcode I pasted into my new page was not from a Cornerstone page. It was from the shop page, which has never been opened in Cornerstone.

What I really want to know is the easiest way to have a WooCommerce shop page but also to add some extra content at the top of the page. Please, if you would, can you tell me the very easiest way to do this? (No coding if at all possible, please.) :pray:

Hello There,

The easist way to create a shop page is to create a page with no contents or anything and assign this as your shop page. WooCommerce will automatically generate the shop product items dynamically for this shop page. If you want to add some custom content, you can add some text in the page description just like this: http://prntscr.com/kz6lgd
And you will have the page output like this: http://prntscr.com/kz6ln0

If you use Cornerstone to edit the page, you may not be able to as WooCommerce may not allow it. You can just check out this thread of how you cam have a custom shop page: https://theme.co/apex/forum/t/customizing-shop-page-of-woocommerce/24460/15

Hope this helps.

Ok, that’s what I wanted to know. Thank you. I’ll give that a go, now that I know my only options. Thank you!

You are most welcome. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.