Created
October 5, 2020 16:41
-
-
Save wooexperte/94f30c64feb998a521491789b3c18c1f to your computer and use it in GitHub Desktop.
Anzahl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'woocommerce_cross_sells_total', 'qreuz_modify_cross_sells_count', 20 ); | |
function qreuz_modify_cross_sells_count( $columns ) { | |
$cross_sells = 6; | |
return $cross_sells; // define how many cross sell products shall max. be shown on the cart page | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment