• Resolved Magicways

    (@akash-khurana)


    Hello,
    We are pushing data to GTM datalayer but Add to cart event shows original price not the discounted one. Is there any solution so that $product->get_sale_price(); will always return actual selling price not the regular price.

Viewing 1 replies (of 1 total)
  • Hi,
    Thank you for reaching out.

    We would like to let you know that our plugin does not update the prices in the backend (Sale price for discounts). Our plugin applies discounts on the fly dynamically while adding the product to the cart. However, it doesn’t change the price in the back-end.

    To get a discount on a product, you can give it a try using this snippet:
    https://gist.github.com/AshlinRejo/c37a155a42c0e30beafbbad183f0c4e8

    Kindly check with your developer on how you can use this snippet on your site. Hope this helps!

    Thanks
    Team Flycart

Viewing 1 replies (of 1 total)
  • The topic ‘Get sale price.’ is closed to new replies.