Last active
November 20, 2016 03:13
-
-
Save isakib/e006a6ec16131bbe4fe647b2b31cf4af to your computer and use it in GitHub Desktop.
Revisions
-
isakib revised this gist
Nov 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ actual_price = $("#priceblock_saleprice").text().replace("$", ""); a = Number(actual_price) fees_of_bpb = a * .21 sales_tax = a * .09 -
isakib created this gist
Nov 2, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ actual_price = $("#priceblock_ourprice").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.