varunsridharan / woocommerce-role-based-price

WooCommerce Role Based Price Plugin
https://codecanyon.net/item/woocommerce-role-based-pricing-pro/14120734
GNU General Public License v3.0
48 stars 22 forks source link

Scheduled future sale price is always displayed instead of regular #98

Closed aspexi closed 5 years ago

aspexi commented 5 years ago

Describe the bug Regular price set to £2.5 Sale price set to £2.0 Sale price dates set in the future. On product's page Sale price (£2.0) is displayed.

To Reproduce Additionally, the Enable Role Based Pricing option is enabled for that product but all fields are empty as I don't want different prices for roles for that product.

Expected behavior Expecting to see Regular (£2.5) price because the Sale price is set in the future.

Software Versions

  1. WordPress : 4.9.8
  2. WooCommerce : 3.5.0
  3. WC Role Based Price : WooCommerce Role Based Pricing Pro 3.7.3

Additional context When Role Based Pricing plugin is disabled, the product's price is displayed correctly (the Regular is displayed, not the Sale price).

I tried enabling Schedule Selling Price extension but it only enables dates for custom roles which I want to be based on the main schedule, not separate for each role.