Results 1 to 6 of 6

Hybrid View

  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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v153 Using Fast and Easy Checkout, can't get Store Pickup to stay selected on Order Total
    By njlech in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 23 Dec 2014, 11:50 PM
  2. Can't set Store Pickup as default!
    By Asdesign in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 8 Dec 2009, 09:38 AM
  3. credit card payment option selected as default
    By mediathing in forum Managing Customers and Orders
    Replies: 3
    Last Post: 24 Feb 2009, 10:50 PM
  4. 'Store Pickup' option help
    By nsr in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 19 May 2006, 01:02 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR