Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // set the number of cross sells on the cart page
- // code goes in functions.php for your child theme
- add_filter('woocommerce_cross_sells_total', 'set_cross_sells', 40);
- function set_cross_sells() {
- return 2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement