How to add attribute value in Sale label when there’s sale in Woocommerce?

I have an attribute called “discount” and I would like to present it in the Sale label on the product http://prntscr.com/qgskb5 This is the code that I have used for printing custom sale label ( instead “Sale” I have “%”) <?php add_filter(‘woocommerce_sale_flash’, ‘woocommerce_custom_sale_text’, 10, 3); function woocommerce_custom_sale_text($text, $post, $_product) { return ‘<span class=”on-sale”>%</span>’; }

Details

Get-AppxPackage still lists a program after Remove-AppxPackage & Remove-AppxProvisionedPackage

I can successfully remove and de-provision Xbox with PowerShell like this Get-AppxPackage -Name “*XboxApp*” | Remove-AppxPackage -AllUsers Get-AppxPackage -Name “*XboxApp*” | Remove-AppxProvisionedPackage However, even after a reboot Get-AppxPackage -AllUsers | Select Name still lists XboxApp. I thought this would only list installed apps, so removing for all user should remove it from the list, much…

Details