Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Store Pickup Option To Be Default Mark Selected

Store Pickup Option To Be Default Mark Selected

Locked

Views: 1,858

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
25 May 2007, 7:41 AM
#1
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Store Pickup Option To Be Default Mark Selected

Hi,

Could somebody help me on how to code the built-in store pickup option to be default mark selected as it is the only delivery method for my shop?! :smile:

26 May 2007, 5:43 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Store Pickup Option To Be Default Mark Selected

That is actually hard coded to never be the default ... :eek:

You would have to customize the:
/includes/classes/shipping.php

It is down near the bottom ...

NOTE: there are no overrides for classes

28 May 2007, 3:58 AM
#3
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Store Pickup Option To Be Default Mark Selected

Hi Ajeh,

Thanx for your reply but how i am gonna code that?:laugh: i am very limited in PHP...

28 May 2007, 4:03 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Store Pickup Option To Be Default Mark Selected

Doing it the cheaters way ...

Search the file:
/includes/classes/shipping.php

Find the two references to:
'storepickup'

Change to:
'HIDEstorepickup'

Now Store Pick Up will be auto selected as the cheapest rate ... :smile:

28 May 2007, 6:03 AM
#5
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Store Pickup Option To Be Default Mark Selected

:clap: it's working...thanx Ajeh !!!

28 May 2007, 2:55 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Store Pickup Option To Be Default Mark Selected

You are most welcome ... thanks for the update ... :smile: