This part of code display the price of product (including attribute price) to the website product details page. It change the value depend of the selected attribute.
i want to take this value and use in the later price calculations.
This part of code display the price of product (including attribute price) to the website product details page. It change the value depend of the selected attribute.
i want to take this value and use in the later price calculations.
I think You should check the following file too for your expected result.
_ProductAttributes.cshtml
Find the following code ==>
if (data.price) { $(".@(priceVarClass)").text(data.price); }
Try with like bellow ==>
var newdata=parseFloat(data.price)+100; // here 100 means your extra amount $(".@(priceVarClass)").text(newdata);
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.