mitchamus
Forum Replies Created
-
Forum: Plugins
In reply to: [Jigoshop] brandsThat would explain a lot 😉
Forum: Plugins
In reply to: [Jigoshop] brandsAlso looks like the ?brands= category loader is half finished.
loads products under the brand into the blog archive instead of the category page.
Forum: Plugins
In reply to: [Jigoshop] brandsOk so following up on this – I think this is a bug.
When a new brand thumbnail is added, no corresponding row added in to the wp_term_relationships table to relate the thumbnail to the brand.
so for example – I want to click on a brand logo to all the brands products…
In this scenario – firstly we retrieve all the brand thumbnails from the wp_posts table (using wp_jigoshop_termmeta keyed on meta_value to post wp_posts.ID and where wp_jigoshop_termmeta.meta_key=’brands_thumbnail_id’)
so now we have the brand pics and the psot ID.
BUT
going to the wp_term_relationships table to get the brand slug based on the wp_posts.ID – there is NO record in this table to tie the thumbnail to the rest of the taxonomy.
When a thumbnail is added in the brands admin, it needs to add this row into wp_term_relationships to tie the thumbnail to the rest of the brand taxonomy.
I have not looked at or tested the admin function to test how this happens. for example – i do not know if this happens if you create a brand with no thumbnail and then add it in later, or if it just doesn’t work right off the bat.
In any case – I think it’s a bug.