Support » Plugin: Pricing Deals for WooCommerce » there is no get_sale_price()

  • Resolved liderbudowlany

    (@liderbudowlany)


    Hi, in my custom theme I have a custom badge with percent discount, which works on
    $product->get_regular_price();
    and
    $product->get_sale_price();
    On this two variables is calculated percent discount. But products discounted with your plugin (PRO Version) doesn’t have this variables.
    How I can reach the regular price and sale price?
    Or maybe just the percent calculated by plugin? In options there is variable, which can be used as suffix: {price_save_percent} – how I can use this in php code in theme?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘there is no get_sale_price()’ is closed to new replies.