This is an example of how to display a discount price by adding specific parameters to the product page of the Shopify theme "Rise/Dawn." By using this in conjunction with a shared URL for the discount code, you can display the discount price before adding it to the cart.
Example of setting to display discount prices by adding specified parameters to the product page of the theme "Rise/Dawn"

[Setup Method 1] Add a custom Liquid block to the product information section of your product template and insert the code.

[Setting Method 2] Create a product page URL with parameters set to display the discount price

