March 11, 2021 at 13:14 UTC - Views: 79 #67558
Has the Xtreme handling of sidebars on woocommerce generated pages changed?
I have just started working on an old project that had been sidelined for a while, first step was to update everything to latest versions.
From what I remembered the sidebar placement on woo category pages used the same setting as either ‘category archive’ or ‘archive-like-default’. The sidebar on the individual product page used the ‘post single page’ setting.
Now it seems that woo category pages are using the post single page setting, same as the individual product page. Ideally I want a sidebar on the category page but not on the product page, a bit fiddly as they are both picking up the same setting. Of course I know I could edit each product page and change the per page option to ‘no sidebars, content only’ but would prefer to be able to control this without manually editing every product.March 11, 2021 at 17:42 UTC - Views: 77 #67563scramblerModerator
@weaver can confirm, but I seem to remember he fixed a bug in there but not sure whatMarch 12, 2021 at 01:39 UTC - Views: 77 #67574
Weaver Xtreme 4.4.4 significantly changed how Woo specific pages are handled. Previously, Weaver Xtreme was “doing it wrong”. For different specialized Woo pages (Shop, Products, etc.) that have lists of products, WooCommerce expectes them to be treated by the theme as Archive pages. Such special Woo pages are generally created as a standard page in the Page list on the Dashboard, and such special Pages will have an indication that they are really Woo pages in the Page list.
So, beginning with Weaver Xtreme 4.4.4, WooPages will follow global settings for Archive pages. This is the “correct” behavior.
BUT, there was also a really great new capability added in 4.4.4 to help get Woo pages to display how you want. Now, the Per Page options for any Woo special page will have the options to change the sidebar layout for that page. Normally, there are not a lot of Woo special pages, so it wouldn’t be overly difficult to change them to have the sidebar layout you want. Other Per Page options now also work as expected.
Technically, the special Woo pages can be thought of as template pages for special Woo layouts. And the way Woo generated its Product List pages goes around some standard WordPress page handling, so Weaver Extreme was not correctly treating those page as Archive-like pages.
I’m sorry if you may need to fix some of your existing pages, but they will now work as Woo expects, and you do now have working Per Page options for the sidebar layout.March 15, 2021 at 09:38 UTC - Views: 57 #67634
I am having problems with replies vanishing again. I sent a reply on Friday and one today which has disappeared.March 15, 2021 at 09:39 UTC - Views: 55 #67635
@weaver – Did you see my reply to this topic on Friday? When I clicked submit it said the post would need moderation as it was either to0 long or had to0 many links.
What you said makes perfect sense. However it doesn’t quite match up with what I am seeing.
For me the only global setting that affects woo pages is ‘<b>Post Single Page</b>’ none of the Archive type page settings have any effect on woocommerce generated pages. This is OK in situations where woo creates an actual page or post, such as individual products, shop, checkout, account and I agree that per page options work which is a welcome feature.
But where I am having an issue is on woo product category and tag archives, these are like standard wordpress archives so don’t have a real page in admin, so no per page options are available. These woo archive pages also pick up on the ‘<b>Post Single Page</b>’ setting, I notice that they have a body class of ‘weaverx-page-single’.
Should they ideally pick up on the corresponding category and tag archive settings, or at least the ‘Archive-like-Default’?March 15, 2021 at 09:40 UTC - Views: 57 #67636
Here are two examples of woo tag and category archive pages where the sidebar setting is coming from global Post Single Page setting, but I think should come from the appropriate archive setting.March 15, 2021 at 21:32 UTC - Views: 50 #67644Private ReplyWeaverKeymasterThis reply has been marked as private.March 16, 2021 at 17:41 UTC - Views: 40 #67648Private ReplythesurgeParticipantThis reply has been marked as private.March 16, 2021 at 22:44 UTC - Views: 35 #67654Private ReplyWeaverKeymasterThis reply has been marked as private.March 17, 2021 at 05:17 UTC - Views: 39 #67663
So I think there is a problem when displaying sidebars for Woo Products with Woo Categories and Tags when they are displayed from a menu Category/Tag link. This is probably not actually a bug, but rather incomplete implementation of special recognition of special Woo pages and product posts.
They probably should follow the sidebar settings forArchive-like default, or Categories/Tags sidebars for Weaver Xtreme plus. I’m not sure just what setting they are using now – doesn’t seem to correspond to any sidebar option at the moment.
The reality is that if a Category or Tag archive page is being displayed, Weaver doesn’t seem to be handling Custom Post Types sidebar layout properly for any Custom Post Type, of which Woo Products is an example.
The custom per post settings do seem to work to show a custom sidebar layout for the single view options for each product.
Weaver Xtreme 4.4+ does properly show per page custom sidebar layout for any of the Woo standard page “Templates” (e.g. shop, cart, checkout, etc.)March 18, 2021 at 10:07 UTC - Views: 20 #67690
Thanks for taking a look, is this something that you might work on for V5?March 18, 2021 at 14:56 UTC - Views: 17 #67693
I will be posting an updated version for 4.4 very soon. Discovered that the problem exists for adding normal Categories and Tags from Menu items (not from direct links or the Category/Tag widgets).
And it looks as if it will probably be impossible to treat Woo tags/categories as anything other than Archive-like for determining sidebar layout. Turns out because of the Woo implementation, that underneath it all that a “Product Category” is really not the same as a regular WP “Category” (or tags), so the Weaver Xtreme Plus options for Tag and Category sidebar layouts won’t apply to Woo Category on the Menu displays – they will just be Archive-like.
I might add a WooCommerce Category/Tag sidebar layout option in V5.
If you have any other Woo options you’d like to see, I’d appreciate knowing to consider adopting them for V5. For example, one option planned is the ability to set the button color for all the normal Woo buttons like “Purchase” or “Add to Cart”.March 18, 2021 at 17:40 UTC - Views: 16 #67694
To customise anything in Woo requires a bit of digging with developer tools to find the right classes to target, options to alter the appearance of buttons would we welcome, as would any access to the styling of archive grids as they are very bland as standard.
This is an example of how I made a hover effect just to add some feedback from the grid: https://tdr-menswear.co.uk/product-category/suit-hire/lounge-suits/
but that site is set up as catalogue mode so much of the standard woo stuff has been changed.
Also, styling options for product headings, titles, related products, description tabs etc would all be useful.
Options to change the style and layout of individual product pages could be a good one.March 26, 2021 at 12:18 UTC - Views: 16 #67812
Just to follow up on this, the weaver update has improved the woo sidebar settings, thank you.
I am getting the following:
- Woo category and tag archives are picking up their sidebars from the global ‘Date Archive’ setting (not archive-like-default).
- Woo product pages are now getting sidebar settings from the global ‘Page’ setting
- Per page options are also still working where they are available.
This is much better as I now have separate global controls for the woo pages and woo archives.March 26, 2021 at 15:30 UTC - Views: 6 #67813
I will have to check that, because that is not what was intended. It is supposed to be the Archive-Like default. At least that is how my test site works.
It is possible that the Date Archive (a Weaver Xtreme Plus option) is overriding that, which I don’t think I tested. I could not get the Plus Category/Tag settings to override the Archive-like settings, but perhaps the Date Archive option does work.March 27, 2021 at 19:29 UTC - Views: 7 #67838
The current 4.4.5 implementation for WooCommerce product category/tag was not quite right for the sidebar layout. It still does work with both the “normal” archive-like choice, and the date archive choice. BUT the date archive should NOT work if done correctly.
So, please switch to using the Archive-like layout, and leave the Date archive set to default.
The next release of Weaver Xtreme 4.4.x will fix this so that only the Archive-like choice will work with Woo Product Category/Tag layouts.
The good news is that for Weaver Xtreme 5.0 with Weaver Xtreme Plus there will be a new dedicated option for WooCommerce Product Category/Tag layout. And there might possibly be a specific layout for the other WooCommerce pages, although I’m not sure that can work with the Woo shortcodes, so that may not happen.
- You must be logged in to reply to this topic.