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
Prev Previous Post   Next Post Next
  #1  
Old 06-08-2017, 05:54 PM
Karma CL's Avatar
Karma CL Karma CL is offline
Junior Member
 
Join Date: Nov 2016
Posts: 1
Default Are input field ids static?

Hi,

I am investigating the possibility of populating the shipping address fields in the minicart using JavaScript and a php backend that has access to my customer's details.

I was hoping to use the shopping page loaded event to determine when the shipping details page is displayed but I don't know if the page element ids such as gwt-uid-28 are consistent across page loadings. In other words, is an element's id the same each time the shipping address form is displayed or might they change from one iteration of the page to the next or from one customer to the next?

If the element ids are not constant, is there a recommended method of finding the appropriate input tags to complete?

Thanks,
Doug

Last edited by Karma CL; 06-12-2017 at 02:31 PM. Reason: Removed portion that I answered myself
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
javascript, minicart

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 07:33 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.