Run Black Friday, Cyber Monday, or other flash sales on your WordPress-powered eCommerce or membership site with WooCommerce, Easy Digital Downloads, and Paid Memberships Pro.
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
Before this update, when you chose a variation from the dropdown on the frontend, you would see the variation price like: $10.00 $10.00. There was a strikethrough, but the sale price was not shown.
This update allows our strikethrough code to work on variations like it does on simple products (the variable products still show a range).
How to test the changes in this Pull Request:
Create a variable product with a few variations.
Set up a coupon and SWS that applies to that product.
Visit the product on the frontend and choose a variation.
It should show the discounted price now.
Other information:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully run tests with your changes locally?
Changelog entry
BUG FIX: Now striking prices for variations similar to how we do for simple products.
All Submissions:
Changes proposed in this Pull Request:
Before this update, when you chose a variation from the dropdown on the frontend, you would see the variation price like:
$10.00$10.00. There was a strikethrough, but the sale price was not shown.This update allows our strikethrough code to work on variations like it does on simple products (the variable products still show a range).
How to test the changes in this Pull Request:
It should show the discounted price now.
Other information:
Changelog entry