typo
This commit is contained in:
parent
46862deb17
commit
07e17aafd5
|
@ -492,7 +492,7 @@ function wc_shipping_methods_have_changed( $key, $package ) {
|
|||
*/
|
||||
function wc_get_cart_item_data_hash( $product ) {
|
||||
return md5( wp_json_encode( apply_filters( 'woocommerce_cart_item_data_to_validate', array(
|
||||
'price' => $product->get_type(),
|
||||
'type' => $product->get_type(),
|
||||
'attributes' => 'variation' === $product->get_type() ? $product->get_variation_attributes() : '',
|
||||
) ) ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue