Inserting custom field beneath payment options

  • Rasmus Larsen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 5 months ago #51416 by Rasmus Larsen
Inserting custom field beneath payment options was created by Rasmus Larsen
Hi Tuan,

I was wondering how I can get a custom field to be placed beneath the payment methods?

I have created a field that worked, and taken that HTML and inserted beneath the payment methods, but after I unpublish the "real" field my custom html-field does not work. Do you know a fix?

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

More
11 years 5 months ago #51425 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Inserting custom field beneath payment options

I have created a field that worked, and taken that HTML and inserted beneath the payment methods, but after I unpublish the "real" field my custom html-field does not work. Do you know a fix?


=> I don't understand. What's "real" field ?

Tuan

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

  • Rasmus Larsen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 5 months ago #51572 by Rasmus Larsen
Replied by Rasmus Larsen on topic Inserting custom field beneath payment options
The "real" field, is the one I created in the "Custom Fields"-area, in the backend.

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

More
11 years 5 months ago #51578 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Inserting custom field beneath payment options
Hi Rasmus

I think it will be easier if you upload the file which you modified here so that I can look at it and guide you with a solution.

Tuan

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

  • Rasmus Larsen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 5 months ago #51579 by Rasmus Larsen
Replied by Rasmus Larsen on topic Inserting custom field beneath payment options
Okay, I have attached the file (zipped)

I have inserted the field at line 331.

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

More
11 years 5 months ago #51608 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Inserting custom field beneath payment options
I am not sure I understand exactly what you want. However, please try :

1. Publish the custom field which you created (is it named field_ean ?

2. Replace your original file with this field

After that, please check it again.

Regards,

Tuan
The following user(s) said Thank You: Rasmus Larsen

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

  • Rasmus Larsen
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 5 months ago #51636 by Rasmus Larsen
Replied by Rasmus Larsen on topic Inserting custom field beneath payment options
That was exactly what I wanted! Thank you!

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

More
11 years 5 months ago #51670 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Inserting custom field beneath payment options
OK. Great. Please look at the code to understand what I did so that you can do it yourself if you need to have more fields like that in the future

Tuan

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

Moderators: Tuan Pham Ngoc