Hello,
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?
Thanks!



Reply With Quote


Bookmarks