Hello. Help a newbie please. I only master wp and wc. The store has 2 categories of goods. Beer and snacks. Beer price goes for 1 liter. For snacks, the price is 50 grams. For snacks, the quantity step in the basket basket goes 50 grams (50,100,150, etc.), but when the price for 50 grams is 20 UAH. for example, when choosing 200 grams in an inpute, the price should be 80 hryvnias, and in fact it turns out 20 UAH. * 200 = 4000 hryvnias
Question 1. Is it possible to change the calculation formula in the basket for the category snack. It turns out that the total in a row is divided by 50. [4000/50 = 80 UAH] (if you take the example above).
Question 2. Maybe there is another way? Ask for the category of snack the price is 20 UAH for 50 grams and after that everything will be clearly considered when we choose 50,100,150,200, etc. ?????
The photo is attached so that it is more understandable :) Thank you all for the help earlier !!! 