I want to display some text after product price. For example $35 per kg. this text "per kg" I want to append on some products which I am selling on kg basis.
I have created a custom attribute with textfield. I have inserted value per kg into that attribute and assigned with the product I want it to be displayed.
Now my problem is I am not getting any way to call this custom attribute to append to price on frontend. I want this text to be displayed on both category and display page.
I am trying to edit:
I can display custom text by echo but not getting any way to call that custom attribute. code of custom attribute is per kg.