Show price per kg on product page

[ad_1]

Plugin Support
Con a11n

(@conschneider)

Automattic Happiness Engineer

Hi there,

Each variation comes with a description field: – You could set the price there.

Result:

Kind regards,

Thread Starter
cr0c

(@djfunky)

Hi!

Thank you for the information, but can this be automated? I guess this would require me to write custom function for it to automatically calculate the price.

Plugin Support
Con a11n

(@conschneider)

Automattic Happiness Engineer

Hi!

I guess this would require me to write custom function for it to automatically calculate the price.

I did take a closer look at the example you provided again – – and I think the unit price is generated by the WooCommerce German Market plugin.

Maybe take a look at that.

Kind regards,

Thread Starter
cr0c

(@djfunky)

Hi!

Thank you very much. That is exactly what I was looking for.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer