We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In WC_Shipcloud_Shipping::get_shipping_class_dimensions the following line fails to find the requested taxonomy:
WC_Shipcloud_Shipping::get_shipping_class_dimensions
$taxonomy = get_term_by( 'name', $shipping_class, 'product_shipping_class' );
The issue is, that $shipping_class is a slug, not the readable name. The line should be changed to:
$shipping_class
$taxonomy = get_term_by( 'slug', $shipping_class, 'product_shipping_class' );
Otherwise no shipping class dimensions will be read.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In
WC_Shipcloud_Shipping::get_shipping_class_dimensions
the following line fails to find the requested taxonomy:The issue is, that
$shipping_class
is a slug, not the readable name. The line should be changed to:Otherwise no shipping class dimensions will be read.
The text was updated successfully, but these errors were encountered: