Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if product has crosssell woocommerce

<?php global $product;
$cross_sell_ids = $product->get_cross_sell_ids(); ?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #product #crosssell #woocommerce
ADD COMMENT
Topic
Name
6+4 =