Need a page refresh everytime a variant changes to get the correct code to load

is there a way to specify the page that reloads? it seems to reload every product page that contains variants. i really only need this for one of my products.