• Resolved jaak69

    (@jaak69)


    Hello,

    The theme is Flatsome.

    I’ve added a test product link. This is a simple product. Discount is working properly but not the price suffix. I want to show the price with VAT in suffix but the price with VAT is calculated for regular price, not for sale price. Your plugin calculates the latter. If you add the product into the cart the price suffix is correct.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Dina S.

    (@themehighsupport)

    Your issue needs a detailed check. Can you please raise a ticket through our website? We hope our technical team will be able to help you.

    Thank you!

    Thread Starter jaak69

    (@jaak69)

    Hello,

    I’ve submitted a support ticket. Meanwhile, I want to find a quick solution. In woocommerce I can use $product->is_on_sale() to find out if particular product is on sale or not. Obviously, with your plugin, this is not working. How do you achieve this check with your plugin?

    Dina S.

    (@themehighsupport)

    Please be informed that in our plugin,?we calculate the discount price based on the discount rule you set.?Then, it changes the product’s sale price to that discounted price.

    From our understanding, the code you mentioned is “$product->is_on_sale()” – it gives a “true” or “false” answer depending on whether you’ve set any sale price for the product. Further, ?if any of the variation products within a variable product is set, the value will always be “true.”

    If we have misunderstood your exact requirement, please clarify us with more details.

    Thank you!

    Thread Starter jaak69

    (@jaak69)

    Hello,

    How do I check if the discount rules apply to the displayed product? Do you have a function for this? Filter? If a product has active price reduction rules, how do I see them? Filter hooks?

    Dina S.

    (@themehighsupport)

    Unfortunately, your requirement cannot be achieved using the current version of our plugin.
    ?
    We regret we couldn’t be of more help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Single products page – price suffix’ is closed to new replies.