Using custom field in language

  • Posts: 50
  • Thank you received: 3
6 years 1 month ago #299696

Hi,
how can i use a custom field (with the Bottle Size) in the Language-File.

I want to show
Price per Bottle Size. ie. 9.80 € per 0,75 lt
the Bottle Size is in a custom field.

Is there a way to display this?
In every view where the price is displayed.

Thanks,
Stefan

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
6 years 1 month ago #299699

Hi,

Yes. To know which view file to edit, you can activate the "Display view files" setting of the HikaShop configuration.
Then, you can edit them via the menu Display>Views.
There, you can use :
echo $this->row->XXX;
where XXX is the column name of the custom field to display the value entered for the custom field in the product.

The following user(s) said Thank You: stefanfrei

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum