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?!![]()
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]
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 ...
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]
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 ...
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]
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 ...
Bookmarks