Add specific phrase after every product title including the discounted price? [closed]

You are not giving much detail, but I will do as much as I can.

The best way to approach this, is to do that directly via PHP (without jQuery). So, assuming that the product title is displayed via the_title() between <h1> tags, as such:

<h1><?php the_title(); ?></h1>

Then I would add the following pseudo-code as follows:

<h1><?php the_title(); ?>
        if (promo-price exists) {
            // 1. Code to get promo price and promo code from DB
            $promo_price = Somehow get from DB;
            $promo_code = Also get from DB;

            // 2. Code to display text
            $price_details = sprintf(' - $%d with promo code: %s', $promo_price, $promo_code);
            echo $price_details;

Remember, this is pseudo-code and you must modify according to your needs.