Hello,
I want to create a calender for selection, that is required as Attribute. Does any1 know where to start or if anything is out there.
Thanks
DigitalGuard
Hello,
I want to create a calender for selection, that is required as Attribute. Does any1 know where to start or if anything is out there.
Thanks
DigitalGuard
Something like THIS ? (scroll to the bottom and click in the DATE REQUIRED field)...
20 years a Zencart User
20 years a Zencart User
This is great except this use the following CSS
Problem with this, this hides all my text inputs, is there a way I can only hide that one, because i have others ones that it hides.Code:/* Delivery Date Picker - Hider*/ .wrapperAttribsOptions input { display:none }
Thanks
DigitalGuard
Disable that bit of css, then - using Firefox Firebug (or by looking at the page source html) - determine the style ID of your standard date input field. (the one that shows IN ADDITION to the field created by this module).
Then, make the condition of that css apply ONLY to that field.
In MY CASE, that field has the style ID of #attrib-7-0
So the css that originally looks like this
/* - - - - DATE PICKER HIDER - - - - */
.wrapperAttribsOptions input {
display:none
}
is adjusted to be:-
/* - - - - DATE PICKER HIDER - - - - */
.wrapperAttribsOptions input#attrib-7-0 {
display:none
}
20 years a Zencart User
I just looked at your site. In your case, it's:
/* Delivery Date Picker - Hider*/
.wrapperAttribsOptions input#attrib-33-0 {
display:none
}
You also need to make the delivery date option the LAST attribute on the page. So in Option Names Manager, give it a sort order (order field) of 999.
Then reset sort order.
20 years a Zencart User
I figured it out, instead of putting on the bottom of the attributes file, I put it on the top and it works.
I tried enabling today but it does not work, I want to enable todays today by hours, I want to say if before 1pm PST to enable today, if its after disable it. How can i do this.
Thank you again for your help.
DigitalGuard
Hi - I've actually been trying to get this to work correctly for awhile... I get the date picker to pop-up, but not where I need it....
My cart is right here. When I implement the code, at the very bottom of the form there is an unlabeled date field with the picker, but the field I want it to act on is the fourth one from the top - "Expected Completion Date".
Any ideas what I might be doing wrong? Thanks in advance!