Closed bobbingwide closed 6 months ago
Hardly any of the brand product categories have their brand logo thumbnail set.
In order to check how they appear, I'll need to set these in development - using the same images as were used on Shop Homepage ^^ ( post ID 2278 ).
Then I'll have to do the same for live.
The images aren't displayed nicely The thumbnails have been cropped.
Investigate hooking into subcategory_archive_thumbnail_size
to replace woocommerce_thumbnail
with
some other value.
Initially use the
[product_categories]
shortcode to display the post-categories which have a parent of brands, not including those which don't have any products.
[product_categories parent=634 hide_empty=1]
The logos in the current system are of varying size and quality. In order to get a consistent display for the brand images we need to ensure that the full sized images are displayed, rather than thumbnails which get cropped. A consistent width of somewhere between 450 and 500 would seem reasonable. The images do not need to be square.
Delivered in v1.5.0
The original shop page, entitled Shop Homepage ^^, was created in Elementor.
It contains several sections which are no longer displayed by the
woocommerce/archive-product.php
template.sale-products
ex-display-buildings
our-brands
The contents of the page was manually created; it doesn't use any WooCommerce functionality to display the grids of product categories.
This contents of this page were lost when the theme was changed to display the
woocommerce/archive-product.php
template. This was before I started working on the site.Requirement
This is a follow on to #47 and similar to #51.
Proposed solution
[product_categories]
shortcode to display the post-categories which have a parent of brands, not including those which don't have any products.