This is my raw solution from the start:
Create a controller
In the method init() I check if exists a GET parameter with a specified code, in case I store a boolean variable in $context->cookie
In the method initContent() I call setTemplate to display my template that show an alert to the user
I have overwritten the method priceCalculation in Product.php adding at the end something like this:
$myvar = (bool) intval($context->cookie->myvar);
if ($myvar) {
$price = $price - (($price * 30) / 100); // 30% discount
}
So when user visit my custom page (that use the created controller) will see the prices discounted of 30%.