titodevera
Forum Replies Created
-
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Change brand link in single product pageHi dekla.
Add the code below to your
functions.php
and customize as your needs:/** * Add filter before single product brands for changing the brands url */ add_action('pwb_before_single_product_brands', 'pwb_custom_before_single_product_brands'); function pwb_custom_before_single_product_brands(){ add_filter('term_link', 'pwb_custom_filter_brand_link', 10, 3); } function pwb_custom_filter_brand_link( $url, $term, $taxonomy ) { global $product; if( $taxonomy == 'pwb-brand' ) $url = site_url('custom-url-here'); return $url; } /** * Remove filter after single product brands for reset the default brands url */ add_action('pwb_after_single_product_brands', 'pwb_custom_after_single_product_brands', -1); function pwb_custom_after_single_product_brands(){ remove_filter('term_link', 'pwb_custom_filter_brand_link', 10); }
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Warning: Missing argument 3Hi aleks1981!
PWB 1.7.2 is under development and will fix this issue, more details:
https://github.com/titodevera/perfect-woocommerce-brands/compare/1.7.2-devThanks for reporting ??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Getting multiple PHP NoticesHi mhogas!
PWB 1.7.2 is under development and will fix this issue, more details:
https://github.com/titodevera/perfect-woocommerce-brands/compare/1.7.2-devThanks for reporting ??
Hi Click-Factor.
I think you can do it with very little template modifications and some CSS rules, but we can′t do it for you, sorry.
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Problem with WooCommerce Product VendorsHi ricardobel.
It sounds like a user role problem, ?What role has the vendors?
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Error 500 Widget FIlterHi!
Please provide your system status report (WooCommerce/Settings/Brands/System status) and place a ` on the line before and after your pasted report as you would with code.
EDIT: It seems that your filter is working well at this moment…
Thanks! ??
You′re welcome! ??
Hi panaceaoutfits.
Try adding this to your
functions.php
add_filter( 'register_taxonomy_args', function( $args, $taxonomy ){ if( 'pwb-brand' === $taxonomy && is_array( $args ) ){ $args['rewrite']['slug'] = 'shop/brand'; $args['rewrite']['with_front'] = false; } return $args; }, 99, 2 );
Then refresh your permalink structure.
??
Hi thegadgethawk.
Please, provide us your system status
WooCommerce/Settings/Brands/System status
and a public link of your site for check the issue.??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Disable brand link in single product pageHi effiekyr.
You can disable the link with css on modern browsers but the links still be presents in your code, so search engines will can follow your links.
I think the best solution is set
Show brands in single product
toNo
and use a custom code snippet for display the brands in the single product pages.??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Brand page looks wierdHi disconnected97.
It seems that you′re actually not using PWB in your site ??
Hi gkarmas.
Replace
echo ob_get_clean();
byreturn ob_get_clean();
.??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Brand banner and Brand DescriptionHi itssdylann.
– Go to
WooCommerce > Settings > Brands
and selectShow brand description
toYes, before product loop
. Save changes.– Be sure that your theme or other plugins are not removing the
woocommerce_archive_description
filter. You can try disabling all plugins but WooCommerce and PWB.If anything works, please provide us a public to your site.
??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Brand banner and Brand DescriptionHi itssdylann.
Edit the
archive-product.php
template in your theme and uncomment the linedo_action( 'woocommerce_archive_description' )
, i think Dukan is incorrectly removing this hook.??
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Brand page looks wierdHi disconnected97.
I think your theme is not working correctly with custom taxonomies, sure that if you install another brands plugin you will have the same problems.
I recommend you to contact with the theme′s support.??