I want to show text before and after the regular price in product container only

I have managed to show the code result on the product pages which are not on sale as you can see in the screenshot below the before and after text are completely shown in the product info wrapper

But as you can see in the below image in the Related Products section on the product page, search bar, collection page everywhere the code has been implemented. So now if I want to show the particular code on product page and that too only in product info container/wrapper, so what should I do

Hi @swayurindia
To show the custom price only on the product page you can create another snippet → https://prnt.sc/IT1A1XtedmUZ name it price-product then search price.liquid and open it after that copy complete code to price-product file same code on both files.
Once this is done open main-product.liquid file search render 'price and replace the code with new created snippet check the screenshot: https://prnt.sc/Dx4l8V_ZiCFw
Once this is done you can add the M.R.P ( https://prnt.sc/ELiIb0CkI1a0 ) at top of the price-product file and at bottom you can add ( Incl. of all taxes ) ( https://prnt.sc/1tgSWr8eS3Zb )