Brand position
-
I am using your plugin and work perfectly.
I was checking the support page and find the way to add the Brand to the shop page. I used the following code:
function pwb_show_brands_in_loop(){ global $product; $product_id = $product->id; $product_brands = wp_get_post_terms($product_id, 'pwb-brand'); if(!empty($product_brands)){ echo '<div class="custom-loop-brands">'; foreach ($product_brands as $brand) { echo '<a href="'.get_term_link($brand->term_id).'">'.$brand->name.'</a>'; } echo '</div>'; } } add_action('woocommerce_after_shop_loop_item', 'pwb_show_brands_in_loop',1);
Is there any possibility to add the brand between the shop_thumbnail and shop_details?
Something like this page: https://www.iamnue.com/brands/etudes/
Best
https://www.ads-software.com/plugins/perfect-woocommerce-brands/
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Brand position’ is closed to new replies.