• Hi,

    Thank you for this useful plugin.

    It would be wonderful if the unit of mesure was displaying after the available stock number and the quantity field. Do you think it will be possible?

    Thanks,
    Manathan.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I have the same problem as you, have you found a solution to display the unit of measurement after the stock number?

    Thank you and good day !

    Thread Starter Manathan

    (@manathan)

    Hi,

    I did it with a pseudo element:

    .product[class*="dalle"] .stock::before, .product[class*="pave"] .stock::before{
    	content:"m2 : ";
    }

    With this CSS snippet, only the product in the category “Pavé” or “Dalle” will display “m2” next to the stock. You should be able to use this and replace the unit of mesure value and your categories. It’s not the best way to do it, but it solves this.

    I hope it will be possible to display the unit of mesure there in a future update.

    Best,

    Hi, were you able to add it next to the quantity instead ?
    For example, 21 “Rolls” in Stock.
    As when we tried, it only added on at the end ; 21 in Stock “Rolls”

    Tq

    • This reply was modified 3 years, 4 months ago by vikashbavisi.
    Thread Starter Manathan

    (@manathan)

    Hi @vikashbavisi,

    That’s exactly what I’m trying to get. Unfortunately, there is no markup I can use on the quantity number. With my snippet, you can put it before (Rolls: 21 in Stock) or after (21 in Stock Rolls).

    I hope the plugin author has a solution. ????

    Cheers,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display the unit of mesure after stock number and quantity field’ is closed to new replies.