Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Limiting the number of cross sells product total
- function change_woocommerce_cross_sells_total() {
- return 2;
- }
- add_filter( 'woocommerce_cross_sells_total', 'change_woocommerce_cross_sells_total' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement