Archived topic
Generateblocks Grid alignment issues
20 replies · Started by The High on Marketing on March 20, 2021
Hii, as you suggested. I've created this new shop page. (please check this screenshot below)
https://ibb.co/Vg9NNHF
.
but how to assign this page as a shop page? I saw that link about adding a PHP snippet but in which folder I'll have to add that snippet? I already tried that adding directly to the functions.php file but it didn't work for me.
So you don't assign it as the Shop page.
As its a static page you can now add any content you want. And to display the Shop list you would add this shortcode:
[products]
More info on Woo shortcodes here:
https://docs.woocommerce.com/document/woocommerce-shortcodes/
Then just save the page.
The PHP snippet goes in your child theme functions.php.
In that snippet make sure you update this:
return 'http://yourdomain.com/your-page/';
To the link of your shop page which as its set the Front Page would just be your site URL.
All this snippet does is update any Continue Shopping links on the site - so they now go to your static shop page.
Actually, I'm not using a child theme, where do I have to put the code in that case. In addition, these woocommerce shop functions in the customizer are not working with this new page. (please check the screenshot below):
https://ibb.co/xsfwVTj
You can use the Code Snippets plugin to add that code:
https://en-gb.wordpress.org/plugins/code-snippets/
Do that first and we can take a look at the other issues.
I guess I'll leave this as it is as of now, but please do not close this thread. I'll be adding more generateblock grid issues in this thread.
I'll mark this topic as resolved now and you can open new topic(s) if you run into more issues.
It's much easier for us to track this way.
Thanks!