Print Page | Close Window

Custom Time Field

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1493
Printed Date: 22-April-2025 at 11:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Custom Time Field
Posted By: Jessica
Subject: Custom Time Field
Date Posted: 02-April-2008 at 10:24am
My store is being set-up for pick-up orders only. Our store hours are different on weekdays and weekends.

Does anyone a way to make the choose time field display different hours depending on the day of the week that's been selected?

Any advice would be much appreciated!


-------------
Jessica



Replies:
Posted By: Hamish
Date Posted: 03-April-2008 at 6:15am
Hi Jessica,
  There's an FAQ on changing the times : http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=474 - http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=474
But I guess your already past that stage.  What your asking for sounds like a good idea as many if not all stores offering pick-up  will have different times at weekends and some still have a half day closing.
On a related point - to disable certain days of the week from being selected (always) then Calendar/Calendar.asp already has a built in piece of code which is just commented out which disables weekends - which is easily adjusted as required.

You will need a custom version of pc/login.asp and for completeness  pcadmin/ordDetails.asp with an "IF/ELSE" to detect the currently selected date and offer the appropriate times.
I don't think it would be very difficult.  If your at all comfortable in ASP then give it a try - making sure you back up the original  of course



Posted By: Greg Dinger
Date Posted: 03-April-2008 at 10:12am

We had a flower retailer some time ago running a different cart, but the following is what we did.  They needed the customer to be able to select a delivery date and time, but the availability dates would be determined by what time of day an order was placed as well as proximity to selected  holidays when flower purchases would increase. Significant custom logic was implemented according to rules the client established for us to code against.

With that said, if you could be precise in explaining what you need, it would help.  Your second sentence in the original post is missing a couple words and while I can fill in what I think you were asking, a more detailed request would be useful.  Thanks.



-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Jessica
Date Posted: 03-April-2008 at 12:19pm
Thanks for the responses!

In further explanation:

Our restaurant is open on Sun 11-9pm, Mon-Thurs 11-10pm and Fri-Sat 11-11pm.

In an example, When a customer places an order for pick-up (the only option) and chooses Sunday, I don't want any hours past 9pm to be displayed as an option in the pick-up time field. If they choose a Mon-Thurs date the options will extend to 10pm and then to 11pm when they choose Fri-sat.

Thanks!


-------------
Jessica


Posted By: Greg Dinger
Date Posted: 03-April-2008 at 12:38pm

Clearly what you are describing is a custom scripting requirement.  This is very similar to the "flower delivery requested date" modification I described above, but as I say, this was performed for another shopping cart.  Same sort of concept though.

I'd suggest you check with a few ProductCart developers to see who could complete such a request within your timeline, and how they will approach the task.  Hamish, Dan from Netprofits and perhaps others post here frequently.  I'll drop you a PM regarding my own scheduling and other thoughts.



-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net