WC Base Shop Page – Meta/Title/Other issues?
-
Using the twenty twelve theme on a base wordpress install and only the wc plugin, I noticed some problems with the base shop page and am not sure if this is by design but think it can cause some confusion with setting the meta, seo, and custom themes that have added functions to wp pages.
I did some testing and this appears to be a bug, maybe I’m wrong though.
In the theme’s footer.php I called “echo get_the_title()” expecting the result to be “shop” when I open my shop page but it was not. The result was “Hello World” – which is the default first post on a base install of wordpress. Also, the meta was from that post as well, not the shop pages meta???
Since I didn’t have any products yet, I went ahead created one really quick and named it “A1 Steak Sauce” and then went back to the shop page and refreshed…yep, you guessed it, I now had a tasty meat sauce title in the footer of my page.
I then added a few more products to see what would happen and the result is always the title of the first alphabetically titled product.
Shouldn’t I be getting the “shop” page title and meta? What other things are missing I wondered…so I added and activated another theme that I know adds some custom functions to the pages and sure enough the result was layouts, templates, custom fields, slugs, etc. are all the result of whatever post or product-post is first in line alphabetically.
So, basically, it appears that the shop page is not being treated like a page but rather a post archive. Is this the best way to get the products listed and paginated in this cart? It seems like maybe some more thought should go into refining how this works but I do realize this is a free cart and we can also override all of this via a custom theme. So I’m simply looking for others input on this, am I missing something or should this be fixed?
Just my two cents I suppose.
- The topic ‘WC Base Shop Page – Meta/Title/Other issues?’ is closed to new replies.