case-sensitive vendor name induced problems
-
Hi,
It seems to me that the plugin was messed up with introduction of case-sensitive display vendor name (wcv_get_vendor_name function).
For example, in class-wc-account-links.php, permalink become-a-vendor is registered, but become-a-Vendor is called by defualt so with pretty permalinks the account page gives 404 error. This could be resolved by setting “vendor” instead of “Vendor” name in plugin options: not good. Vendor name in settings should be case insensitive in my opinion.
Other problem, the name is not run through translation filter, so it is not translated. I had to crrect it by
add_filter( ‘wcv_vendor_display_name’, ‘my_wcv_vendor_display_name’, 10, 2 );
function my_wcv_vendor_display_name($vendor_label) {
$vendor_label = __( $vendor_label, ‘wc-vendors’ );
return $vendor_label;
}
The most significant problem for me is however that emails are not sent to vendors on order (already pointed out here in the forum by someone else). I do not know whether this is due to case-sensitive vendor name or not. Hope that this will be resolved soon, as I have to forward admin emails to vendors manually!!!The page I need help with: [log in to see the link]
- The topic ‘case-sensitive vendor name induced problems’ is closed to new replies.