Last active
November 20, 2016 03:13
-
-
Save isakib/e006a6ec16131bbe4fe647b2b31cf4af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| actual_price = $("#priceblock_saleprice").text().replace("$", ""); | |
| a = Number(actual_price) | |
| fees_of_bpb = a * .21 | |
| sales_tax = a * .09 | |
| total_price_in_usd = fees_of_bpb + sales_tax + a; | |
| total_price_in_bdt = total_price_in_usd * 78.33 | |
| Math.ceil(total_price_in_bdt) | |
| #selector can be changed, based on product on deal or regular price | |
| #slight price varies -- which is about 5 to 10 tk. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment