diff --git a/functions/product.php b/functions/product.php index 89a46de7..ef185eba 100644 --- a/functions/product.php +++ b/functions/product.php @@ -46,7 +46,7 @@ function doliRelatedProducts($id) { if ( !isset( $relatedproducts->error ) && $relatedproducts != null ) { $related = null; foreach ( $relatedproducts as $product ) { - $related .= apply_filters( 'doliproductlist', $product); + $related .= apply_filters( 'doliproductlist', $product, $id); } return $related; } else {