Wishlist

Your Wishlist‘; if (!session_id()) session_start(); $wishlist = isset($_SESSION[‘custom_wishlist’]) ? $_SESSION[‘custom_wishlist’] : []; if (!empty($wishlist)) { foreach ($wishlist as $product_id) { $product = wc_get_product($product_id); if ($product) { echo ‘‘; } } } else { echo ‘

No items in wishlist.

‘; } get_footer();