Well it's as follows. I have the following code structure:
A div called part-sec that brings the entire contents of the product. The price-product div comes with the price. So far so good. But below I have another div with the sizes and when the person clicks on the size he has to change the price-product div with the price of the size that the person clicked on. But the problem is that it has several divs equal to this and if I click it it changes the price of the size clicked on all the divs. I wanted it to only change the price of the product with the div clicked. I've tried this and it did not work!
small medium great