gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
181 stars 135 forks source link

Regular price does not appear crossed out when a sale price is set (WooCommerce) #2762

Closed brianhogg closed 1 month ago

brianhogg commented 1 month ago

Reproduction Steps

  1. Install LifterLMS 7.7.7.
  2. Install WooCommerce 9.3.1. Make sure it is properly set up.
  3. Install LifterLMS WooCommerce 2.5.2.
  4. Create a LifterLMS and publish it.
  5. Create a WooCommerce product and add a Regular price, a Sale price, and add Sale price dates that contain the current date (as you can see in this screenshot).
  6. Associate that product to the course you created in Step 4.
  7. View the course on the front end.

    Expected Behavior

  8. The regular price should visibly show that it was the old price, not the current price. The old price (regular price) should have a strikethrough style

    Actual Behavior

  9. The regular price does not visibly indicate that it was the old price, as you can see in this screenshot. This issue has been recreated:
    • [x] Locally
    • [ ] On a staging site
    • [x] On a production website
    • [x] With only LifterLMS and a default