Ajax custom field

  • Posts: 332
  • Thank you received: 9
  • Hikashop Business
1 day 2 hours ago #367842

Hello.
I currently have several custom items in my store. For clients to upload the print file, I have enabled an ajax field with custom text (made with Joomla translations).
We are implementing other types of customizations and I would like, just for these cases, for the ajax field drawer to have different text.
Is that possible?

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

  • Posts: 84079
  • Thank you received: 13634
  • MODERATOR
22 hours 3 minutes ago #367845

Hi,

Which text in particular do you want to change ?

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

  • Posts: 332
  • Thank you received: 9
  • Hikashop Business
8 hours 50 minutes ago #367853

Hi!
Right now we have this text in all pages:
"Drag the print file (VECTORIZED) here using the upload button or send it once the order is confirmed to This email address is being protected from spambots. You need JavaScript enabled to view it..
I want to be able to choose other texts for specific situations and products.
For this text I have modified the variable: HIKA_PRODUCT_FILES_EMPTY_UPLOAD

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

  • Posts: 84079
  • Thank you received: 13634
  • MODERATOR
4 hours 28 minutes ago #367855

Hi,

It's not impossible but it is not easy.
You would have to create an override of the file administrator/components/com_hikashop/types/uploader in order to dynamically change the text based on the parameters in $_REQUEST. We have documentations for such overrides:
www.hikashop.com/support/documentation/6...ntation.html#classes
Note however that this require developer skills as you need to modify the PHP code.
If that's something you need help with, we can work on it for you. You can use our contact form in order to request a quote:
www.hikashop.com/support/contact-us.html
Make sure you include details on how you want the text to change in which case so that we can properly evaluate the amount of work necessary.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum