Dynamic date in lieu of Option Value?
I want to provide my shoppers with the ability to choose a date (via a radio button group) on which they can have their product delivered. I also want to automatically control the number of deliveries available per day.
I solved the number of deliveries item by using Stock By Attributes... works great! Now, I am trying to figure out a way to dynamically label the radio buttons (the "option value") with the day and date for the next few days.
I deliver on Sun, Mon, Tu, Wed, and Th. I would like for the radio buttons to show up like this:
O ["two days from today" day and date]
O ["three days from today" day and date]
O ["four days from today" day and date]
O ["five days from today" day and date]
O ["six days from today" day and date]
So if today is Sunday January 22, 2012, the radio button group of available delivery dates would look like this:
O [Tuesday Jan 24]
O [Wednesday Jan 25]
O [Thursday Jan 26]
O [Sunday Jan 29]
O [Monday Jan 30]
As you can see in the second example above, Friday Jan 27 and Sat Jan 28 are not shown as options. I would like for the radio button label to somehow skip over the non-delivery days and instead show the next available delivery day where that non-delivery day would otherwise be offered.
Is any of this possible, or would it be a large programming undertaking to get the Zen Cart attributes system to work like this? Any other ideas/modules/etc?
By time111 in forum General Questions
Last Post: 17 Mar 2010, 06:36 PM
By Akumaownz in forum Templates, Stylesheets, Page Layout
Last Post: 24 Jul 2008, 09:13 PM
By thehenryfam in forum Templates, Stylesheets, Page Layout
Last Post: 23 Jan 2008, 05:05 PM
By dmfelder in forum Setting Up Categories, Products, Attributes
Last Post: 13 Dec 2006, 07:08 AM
By sam18204 in forum Basic Configuration
Last Post: 2 Sep 2006, 03:34 PM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC