Home Forums WoodMart support forum How to fix Discount label error

How to fix Discount label error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #196011

    Joie
    Participant

    Hello,
    i am using Woocommerce Dynamic Pricing plugin to adjust prices for quantity
    below is my setting
    https://snipboard.io/4nMRVF.jpg

    the displayed product sale label has error. It is displayed as -100%
    https://snipboard.io/HKc3S0.jpg
    Also there are PHP error :

    wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php:1036
    woodmart_product_label()
    wp-includes/class-wp-hook.php:289
    apply_filters('woocommerce_sale_flash')
    wp-content/themes/woodmart/woocommerce/single-product/sale-flash.php:25
    wc_get_template()
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:1565
    woocommerce_show_product_sale_flash()
    wp-includes/class-wp-hook.php:287
    do_action('woocommerce_before_single_product_summary')
    wp-content/themes/woodmart/woocommerce/content-single-product.php:116
    load_template('wp-content/themes/woodmart/woocommerce/content-single-product.php')
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:197
    wc_get_template_part()
    wp-content/themes/woodmart/woocommerce/single-product.php:28

    Do you know how to fix this ?
    Thank you
    Joie

    #196017

    Artem Temos
    Keymaster

    Hello,

    Our sale price label calculates the percentage value based on WooCommerce sale price. Seems like the plugin has its own custom field for the sale price value and our theme is not aware of that. Sorry, but we don’t have a fix for this. You will need to disable percentage label an activate default WooCommerec sale label in our Theme Settings.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)