facebookarchive / facebook-for-magento2

* Pixel on all pages, which trigger events link, PageView, ViewContent, AddToCart, Initiatecheckout and Purchase.* In the background, Syncs the products from the merchants product catalog to Facebook Catalog.* Stores all the data, like pixel id, catalog id, business maanger id, on to the local database on the instance.
Other
46 stars 36 forks source link

[Bug]: InitiateCheckout and Purchase did not calculate the discounted price #140

Open 2657968210 opened 1 year ago

2657968210 commented 1 year ago

Contact Details

2657968210@qq.com

What happened?

During the installation and testing process, we found that getSubTotal in Block/Pixel/InitiateCheckout.php and Block/Pixel/Purchase.php did not calculate the discounted price, and the discounted price can only be obtained by using getGrandTotal. Will this problem be solved in subsequent versions?

Magento Version

2.4.3

Plugin Version

1.4.6

Relevant log output

No response

Code of Conduct