Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Nov 2007
    Posts
    121
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Create 1 Attributes as calender for selection

    Something like THIS ? (scroll to the bottom and click in the DATE REQUIRED field)...
    20 years a Zencart User

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Create 1 Attributes as calender for selection

    20 years a Zencart User

  4. #4
    Join Date
    Nov 2007
    Posts
    121
    Plugin Contributions
    0

    Default Re: Create 1 Attributes as calender for selection

    Quote Originally Posted by schoolboy View Post
    Something like THIS ? (scroll to the bottom and click in the DATE REQUIRED field)...
    Yes that is exactly what i need.

  5. #5
    Join Date
    Nov 2007
    Posts
    121
    Plugin Contributions
    0

    Default Re: Create 1 Attributes as calender for selection

    This is great except this use the following CSS
    Code:
    /* 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

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default 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
    }
    20 years a Zencart User

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default 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 years a Zencart User

  8. #8
    Join Date
    Nov 2007
    Posts
    121
    Plugin Contributions
    0

    Default Re: Create 1 Attributes as calender for selection

    Quote Originally Posted by schoolboy View Post
    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?

  9. #9
    Join Date
    Nov 2007
    Posts
    121
    Plugin Contributions
    0

    Default Re: Create 1 Attributes as calender for selection

    Quote Originally Posted by DigitalGuard View Post
    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. #10
    Join Date
    Feb 2007
    Posts
    99
    Plugin Contributions
    0

    Default 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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. attributes force selection
    By buildingblocks in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 28 Oct 2011, 01:06 PM
  2. Replies: 3
    Last Post: 6 Sep 2008, 05:58 AM
  3. How Do I Create Discounts for Multiple Attributes?
    By leonardawilson in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Aug 2007, 11:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg