The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 12-08-2014, 11:33 AM
Alex Skipper's Avatar
Alex Skipper is offline
Junior Member
 
Join Date: Dec 2014
Posts: 2
Default

Adding HTML attributes for product options


I am wondering if it is possible to add and HTML attribute to a text field option. Reason being is I would like to integrate a jQuery slider - http://loopj.com/jquery-simple-slider/
but for it to work I must add data-slider="true" to the input HTML tag.

If anyone can point me in the right direction it will be greatly appreciated!!!

Alex
  #2  
Old 12-10-2014, 02:21 PM
Ilya S.'s Avatar
Ilya S. Ilya S. is offline
Senior Member
 
Join Date: Oct 2014
Location: Ulyanovsk
Posts: 129
Default

Quote:
Originally Posted by Alex Skipper View Post
I am wondering if it is possible to add and HTML attribute to a text field option. Reason being is I would like to integrate a jQuery slider - http://loopj.com/jquery-simple-slider/
but for it to work I must add data-slider="true" to the input HTML tag.

If anyone can point me in the right direction it will be greatly appreciated!!!

Alex
Hi, Alex. Though you can’t add HTML to product options fields, I’m certain we could advise you a solution. Yet at first I’d like to know more what you’re trying to achieve. As I can see, you want to attach a slider to your product pages, right? Can you please clarify where exactly? What should this slider do actually? Would it be detailed images of the product?
Thank you!

Hope to hear from you soon.
  #3  
Old 12-10-2014, 09:02 PM
Alex Skipper's Avatar
Alex Skipper Alex Skipper is offline
Junior Member
 
Join Date: Dec 2014
Posts: 2
Default

On this website - https://www.humblebundle.com/weekly - there is a section at the bottom labelled 'choose where your money goes.' The user is able to move the sliders to choose what percentage goes to where. I only need one slider as it is divided between the company and one charity.

Thanks for getting back to me
  #4  
Old 12-15-2014, 09:26 PM
Axiom
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Alex Skipper View Post
On this website - https://www.humblebundle.com/weekly - there is a section at the bottom labelled 'choose where your money goes.' The user is able to move the sliders to choose what percentage goes to where. I only need one slider as it is divided between the company and one charity.

Thanks for getting back to me
Hello!

Thank you for explaining.
Of course, such kind of slider can be added to your site.
It can be added with a custom modification, by means of Ecwid Javascript API.

Such solution requires programming skills though. In case you need assistance with customization of this kind I suggest you contacting our friends from Qualiteam - http://www.qtmsoft.com/. Send them an email to sales@qtmsoft.com describing what you would like to do and they will get back to you with cost estimation and timeframes.

Have a nice day!
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
html, jquery, option, text field

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:00 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.