Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Default 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?!
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,812
    Plugin Contributions
    6

    Default Re: Store Pickup Option To Be Default Mark Selected

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

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

    It is down near the bottom ...

    NOTE: there are no overrides for classes
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Default Store Pickup Option To Be Default Mark Selected

    Hi Ajeh,

    Thanx for your reply but how i am gonna code that? i am very limited in PHP...
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,812
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Apr 2006
    Location
    Labuan Island
    Posts
    361
    Plugin Contributions
    2

    Default Store Pickup Option To Be Default Mark Selected

    it's working...thanx Ajeh !!!
    [FONT=Comic Sans MS]"Whether you think you can, or you think you can't... YOU ARE RIGHT."[/FONT]
    [FONT=Comic Sans MS]GOOD LUCK !!![/FONT]

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,812
    Plugin Contributions
    6

    Default Re: Store Pickup Option To Be Default Mark Selected

    You are most welcome ... thanks for the update ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. usps.com Click-n-ship AutoFill Button Contrib
    By qhome in forum Addon Shipping Modules
    Replies: 785
    Last Post: 25 Mar 2014, 09:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •