SHow Product Custom Fields in checkout and emails

  • Posts: 40
  • Thank you received: 0
10 years 10 months ago #137554

I'm using Hikashop Business to sell courses which take place on a particular date. The dates (start and finish) are set using a custom product field. These are not configurable by the purchaser, so Item and order fields are not suitable.

I would like to show those dates in the cart / checkout and in the order emails.

I've had a look at all the extra fields available in in cart, only the item, address and order field sets are available by default. Is there a function that i can call in the template files to load the product custom fields for display in the template?

Many thanks

Keith

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

  • Posts: 12953
  • Thank you received: 1778
10 years 10 months ago #137587

Hi,
I think that you'll probably find your answer through this thread :

The problem with what he told you is that the tags he gave you will only exist in next version of HikaShop.
With the current version of HikaShop, such modification is much more complex as you also need to edit the preload file corresponding to the email in the folder media/com_hikashop/mail/ in order to add php code to generate the var tag that you'll be able to use on the email template. If you're well versed into programming, look at what we do for the product_name field and do the same for your custom field column name and that will work. If not, then I would recommend to wait for next version of HikaShop in one or two weeks in order to be able to do what Xavier explained.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum