Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Shipping Date Chooser for 2.3.1


8 replies to this topic

#1 burt

  • Community Sponsor
  • 6,970 posts
  • Real Name:G Burton
  • Gender:Male
  • Location:UK/DEV/on

Posted 23 November 2010, 20:56

http://addons.oscommerce.com/info/7640

Gives a shipping date chooser in the checkout_shipping.php page.

Specifically rewritten for 2.3.1, and is based on the older 2.2 module of the same name.
The Dirty Little Secrets that no osCommerce template sellers want you to know...revealed...

Support is commercially available. The question is whether you value your business
highly enough to spend money on it.

For commercial support from known developers who support osCommerce
ethos, please post at http://forums.oscommerce.com/forum/79-commercial-support/

#2 CarlDavidRobinson

  • Community Member
  • 22 posts

Posted 07 September 2011, 16:13

Hi i just installed this onto my store, i don't know what went wrong, but i the shipping date option has appeared but it will only allow me to enter digits into the form, no symbols or letters - i cant expect the customers to enter the date DDMMYYYY its just not tidy.

can anyone help me figure out what i've done wrong?

i used this Contr - http://www.oscommerce.com/community/contributions,7640

screenshot of the shipping page if it helps ?

Attached Files



#3 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 08 October 2011, 22:58

I have installed Club osCommerce Ship Date for 2.3.1
Everything looks and works ok except that no calendar show up, what did I do wrong? How to get the calendar to show.
When writing the date everything works fine.

#4 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 09 October 2011, 14:23

View Postpeteravu, on 08 October 2011, 22:58, said:

I have installed Club osCommerce Ship Date for 2.3.1
Everything looks and works ok except that no calendar show up, what did I do wrong? How to get the calendar to show.
When writing the date everything works fine.
If I change back to ext/jquery/ui/redmond/jquery-ui-1.8.6.css form ext/jquery/ui/myown/jquery-ui-1.8.6.css the calender comes. but I dont find out what is missing in the new one???????????

#5 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 13 October 2011, 00:23

View Postpeteravu, on 08 October 2011, 22:58, said:

I have installed Club osCommerce Ship Date for 2.3.1
Everything looks and works ok except that no calendar show up, what did I do wrong? How to get the calendar to show.
When writing the date everything works fine.

View Postpeteravu, on 09 October 2011, 14:23, said:

If I change back to ext/jquery/ui/redmond/jquery-ui-1.8.6.css form ext/jquery/ui/myown/jquery-ui-1.8.6.css the calender comes. but I dont find out what is missing in the new one???????????
what did it do wrong sins the calendar dont come with my new design but with redmond it come?

#6 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 15 October 2011, 20:28

View Postpeteravu, on 09 October 2011, 14:23, said:

If I change back to ext/jquery/ui/redmond/jquery-ui-1.8.6.css form ext/jquery/ui/myown/jquery-ui-1.8.6.css the calender comes. but I dont find out what is missing in the new one???????????
now the calendar is ok

this is what i did
In includes/template_top.php
Change from
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script>
to
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.16.custom.js"></script>
 
and also copyed the file from the new them to ext/jquery/ui/jquery-ui-1.8.16.custom.js


#7 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 16 October 2011, 03:05

why when i change from 'yy-mm-dd' to 'dd-mm-yy' it don't get saved
<script>
$(document).ready(function(){
	$('#delivery_date').datepicker({
		dateFormat: 'yy-mm-dd',
		minDate: '0d',
		beforeShowDay: $.datepicker.Weekends
	});
});
</script>
to
<script>
$(document).ready(function(){
	$('#delivery_date').datepicker({
		dateFormat: 'dd-mm-yy',
		minDate: '0d',
		beforeShowDay: $.datepicker.Weekends
	});
});
</script>
It show correct but it don't get saved

#8 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 05 November 2011, 00:43

View Postpeteravu, on 16 October 2011, 03:05, said:

why when i change from 'yy-mm-dd' to 'dd-mm-yy' it don't get saved
<script>
$(document).ready(function(){
	$('#delivery_date').datepicker({
		dateFormat: 'yy-mm-dd',
		minDate: '0d',
		beforeShowDay: $.datepicker.Weekends
	});
});
</script>
to
<script>
$(document).ready(function(){
	$('#delivery_date').datepicker({
		dateFormat: 'dd-mm-yy',
		minDate: '0d',
		beforeShowDay: $.datepicker.Weekends
	});
});
</script>
It show correct but it don't get saved
I still like to make show dd-mm-yy why can I not save in database in this formate dd-mm-yy? It onky save hvel it is in yy-mm-dd

#9 peteravu

  • Community Member
  • 312 posts
  • Real Name:peter avu
  • Gender:Male

Posted 19 December 2011, 00:36

why can i not change formate from 'yy-mm-dd' to 'dd-mm-yy' if I do than it don't get saved in database

from
<script>
$(document).ready(function(){
	$('#delivery_date').datepicker({
		dateFormat: 'yy-mm-dd',
		minDate: '0d',
		beforeShowDay: $.datepicker.Weekends
	});
});
</script>
this is saved as 2011-10-26 00:00:00 in the datebase.

But if change to
<script>
$(document).ready(function(){
	$('#delivery_date').datepicker({
		dateFormat: 'dd-mm-yy',
		minDate: '0d',
		beforeShowDay: $.datepicker.Weekends
	});
});
</script>
it show correct order on the checkout page, but save as 0000-00-00 00:00:00 in datebase.