import React from 'react'; import {useProduct} from 'vtex.product-context'; import styles from "./styles.css"; const paymentWithPix =() => { const product = useProduct(); let imagePix = "https://agenciamagma.vtexassets.com/arquivos/pix-image-victor_souza.svg" return (
Imagem do icone do pix

{(product?.product?.priceRange.sellingPrice.highPrice || 0) * (0.9)}

R$ 10 % de desconto

) } export default paymentWithPix