It is posible in woocommerce to create different prices based in weight to display in a select dropdown?
For example:
food for dogs: 5k = $20 10k = $40 20k = $60
It is possible in WooCommerce to create different prices based on weight -
In Variable products in WooCommerce that lets you offer a set of variations on a product, with control over prices, stock, image and more for each variation.
Step 1- Set the product type
Go to: WooCommerce > Products.
Select the Add Product button or Edit an existing product. The Product Data displays.
Select Variable product from the Product Data dropdown.
Step 2- Add attribute.
Go to : Products > Attributes
Then give name attribute.
Save.
Then select on weight attribute.
Add sub-attribute in weight attribute (5k,10k,15k).
Step 3- Add attributes to use for variations
Go to : Products
Then select product you set as variable product in step 1
Select Attributes then select Custom product attribute(that is weight), and Add.
In weight select sub-attribute.
Then Select check box used for variation.
Save attribute.
Step 4. Add variations
Goto:Variations Select Add variation from the drop-down menu, and click Go
Select attributes for your variation. To change additional data, click the triangle icon to expand the variation.
Edit Price for each attribute.
Save Changes.
Read more: https://docs.woocommerce.com/document/variable-product/
Watch this Video- https://www.youtube.com/watch?v=iUcAf89LfCc