Passing Variable Price Info into a Text field

@giri-zano Technically, yes it is in Wix Stores. I have the regular product page and then I’ve just passed info from that product into a custom built one.

This is a function that was written to update the colors and sizes:

function updateProductOptions ( options ) {
try {
const addIdsToColors = options . Polish . choices . map (( item , index ) => {
return {
_id : index . toString (),
value : item. value ,
colorName : item . description ,
inStock : item . inStock ,
mediaItems : item . mediaItems ,
visible : true
};
});
$w ( ‘#colorsRepeater’ ). data = addIdsToColors ;
} catch ( err ) { console . error ( err ); }

**try**  { 
    **const**  setSizes  =  options .  Size .  choices .  map (( item ) => { 
        **return**  { 
            label :  item .  description , 
            value :  item .  value 
        }; 
    }); 
    $w ( '#sizesDropdown' ).  options  =  setSizes ; 

}  **catch**  ( err ) {  
    console .  error ( err ); } 

}

I would think that something similar to this can be done to update the price but everything I’ve tried so far has been unsuccessful. Also, when adding to cart the correct price appears. Not sure if that helps