Setting page as WooCommerce shop disables styles

The Astra theme is like any other WordPress theme that lets you manage the global settings of the website. This includes colors, typography, layouts, headers, etc. The page content and design can be handled using the page builder or third-party plugins (like WooCommerce).

​When a page is set to be the shop page, WooCommerce replaces it with an archive of products. It becomes a “post type archive” for the products in the store. That’s why it doesn’t act like a normal WordPress page.

​One way some store owners handle this is to go on and assign a “placeholder” page to be the shop page. Then redirect this “placeholder” to the actual page you’ve designed.

​This StackOverflow answer has a snippet you can use for this. You’d need to change it up just a bit to fit the page you’ve created, but hopefully, it’ll get you pointed to a solution. You can add the snippet to your theme’s functions.php file or with the Code Snippets plugin.

https://stackoverflow.com/a/40384822/8533058.

Leave a Comment

Toms River Location

Pleasant Plaza,
1341 Route 9, Toms River, NJ 08755
Phone: (732)-505-1870
Fax: (732)-505-1830

Brick Location

Kennedy Mall,
2770 Hooper Avenue,
Brick, NJ 08723
Phone: (732)-920-0290

Manahawkin Location

Starboard Plaza,
655 Route, 72 East
Manahawkin, NJ 08050
Phone: (609)-597-0938

Scroll to Top