From 7451d476e69b42131a46566ec472c7bd102f67ee Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sun, 1 Oct 2023 21:01:08 +0200 Subject: [PATCH] Update product.php --- functions/product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {