Your English is good.
So, when you click an Add button, you update the global variable, “Total_Price” which is good. You then need to update the text of the widget, “TotalPrice” which is in the “shopping cart list” group. You can just set that to the value of [[Total_Price]] (and include the £ character).
A few little improvements which would be good: If your prices will have cents, it is best to convert text values to numbers with two decimal places–to match currency formatting. Otherwise, when adding and subtracting your Total_Price you can end up with some rounding errors with results like (£ 20.99999999998). To do this in Axure, use the math function .toFixed(2) when setting the value of Total_Price. Here are the changes I made to the Add button in product repeater:
…in which the first action is:
[[ (Total_Price + Item.product_price).toFixed(2) ]]
Likewise, I added code to the “cancel” button in the cart to adjust the value of Total_Price and the text value of TotalPrice.
supelivery.rp (1.2 MB)