Refactored the variantPdfUrl to get the right data