bobbingwide / vgc

VGC - Garden Vista Group theme
GNU General Public License v2.0
0 stars 0 forks source link

Improve store page to display Brand categories below the products #52

Closed bobbingwide closed 6 months ago

bobbingwide commented 1 year ago

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.

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

bobbingwide commented 1 year 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.

bobbingwide commented 1 year ago

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.

bobbingwide commented 1 year ago

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.

image

bobbingwide commented 6 months ago

Delivered in v1.5.0