Zen Cart Logo
Forums / General Questions / Create 1 Attributes as calender for selection

Create 1 Attributes as calender for selection

Locked

Views: 1,477

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
19 Mar 2010, 2:56 PM
#1
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Create 1 Attributes as calender for selection

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

19 Mar 2010, 3:05 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

Something like THIS ? (scroll to the bottom and click in the DATE REQUIRED field)...

19 Mar 2010, 3:10 PM
#4
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

schoolboy:

Something like THIS ? (scroll to the bottom and click in the DATE REQUIRED field)...

Yes that is exactly what i need.

19 Mar 2010, 4:31 PM
#5
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

This is great except this use the following CSS

/* Delivery Date Picker - Hider*/
.wrapperAttribsOptions input {
    display:none
    }

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.

Thanks
DigitalGuard

19 Mar 2010, 6:40 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

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
}
*

19 Mar 2010, 6:59 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

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 Mar 2010, 2:55 PM
#8
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

schoolboy:

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.

Is it possible to move the delivery calender up, instead of being at the bottom of the page?

20 Mar 2010, 4:01 PM
#9
digitalguard avatar

digitalguard

Zen Follower

Join Date:
Nov 2007
Posts:
121
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

DigitalGuard:

Is it possible to move the delivery calender up, instead of being at the bottom of the page?

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

10 Apr 2010, 8:49 PM
#10
aaelghat avatar

aaelghat

Zen Follower

Join Date:
Feb 2007
Posts:
100
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

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!

13 Apr 2010, 1:47 PM
#11
aaelghat avatar

aaelghat

Zen Follower

Join Date:
Feb 2007
Posts:
100
Plugin Contributions:
0

Re: Create 1 Attributes as calender for selection

Bump - Anyone have any thoughts on why the date picker isn't working on my cart the way it should?

I have a feeling it may be a CSS incompatibility, but I'm not sure what to look at. I usually don't bump threads, but this is a frustrating problem. Thanks!