sell by weight in WooCommerce

I have varieties of products on my site. But I want to sell the fish by weight that’s why anyone can buy 0.5/1/2 kg of fish. how can I do that for only the fish products, not for the electronics or others?

The page I need help with: [log in to see the link]

Source link