Created
          August 2, 2021 07:51 
        
      - 
      
- 
        Save Balakrishnan-flycart/817eee0928bad4e71ac0dc2d5594108e to your computer and use it in GitHub Desktop. 
    Woo Discount Rules v2 - Check WDR Free shipping is enabled
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | if ( class_exists('\WDRPro\App\Rules\FreeShipping')) { | |
| // below method return true when wdr free shipping enabled | |
| $wdr_free_shiiping = \WDRPro\App\Rules\FreeShipping::cartHasFreeShipping(); | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment