osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Selecting a default payment method.

This is a discussion on Selecting a default payment method. within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Is there a way to select a default payment method so the readio button is "pre-selected" when a customer gets ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-21-2005, 04:14 AM
New Member
 
Join Date: Aug 2005
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kwiznoz
Default Selecting a default payment method.

Is there a way to select a default payment method so the readio button is "pre-selected" when a customer gets to the payment screen? We want to check the credit card payment button so the customer can avoid overlooking it (most pay by ccd) so they will have to select check/money order if needed.

Any suggestions? I searched here and osc forums - no luck....
__________________
Jay

If you don\'t make mistakes, you\'re not working on hard enough problems. And that\'s a big mistake. ~F. Wikzek
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-01-2005, 01:06 PM
New Member
 
Join Date: Aug 2005
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kwiznoz
Default Here's the solution, had to pay for it :?

Here is a simpler solution to the problem that should work for you (in any template):

Add the following to the body tag of your template right after the word body but within the tag:

onload="selectRowEffect(this, 0)"

That will change the selection to the first radio button automatically.
__________________
Jay

If you don\'t make mistakes, you\'re not working on hard enough problems. And that\'s a big mistake. ~F. Wikzek
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-05-2005, 03:26 PM
Member
 
Join Date: Jul 2005
Posts: 91
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kenlyle
Default RE: Here

I added this line immediatedly after the <body> tag in my main_page.tpl.php, i.e.

<body>
onload="selectRowEffect(this, 0)"

but didn't get the intended effect when I opened my checkout_payment.php

Can you give more precise instructions?

Thanks,
Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-05-2005, 03:36 PM
Member
 
Join Date: Jul 2005
Posts: 91
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kenlyle
Default RE: Here

Duh, I am sitting in the corner under the pointy hat.

INSIDE the tag, i.e. <body onload="selectRowEffect(this, 0)">

Works like a champ.

Thanks for the tip.

Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-06-2005, 07:29 AM
Member
 
Join Date: Jul 2005
Posts: 91
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kenlyle
Default Don't use this tip!

Today, I noticed that no products were showing up in my Categories box. That's a bad deal to have the minor default payment issue fixed.

We need a new fix for the default payment issue.

K
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-07-2005, 09:29 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,331
Thanks: 68
Thanked 323 Times in 306 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Don

I cannot reproduce your issue with the categories box. All categories display properly. Perhaps you can provide more detail. What osCMax categories box type are you using, Default, Coolmenu or DHTML? Have you made any mods to the categories box?
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-07-2005, 05:33 PM
Member
 
Join Date: Jul 2005
Posts: 91
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kenlyle
Default No mods

The standard box from the OsC template, I believe. No mods of any kind. It looks like all my files say 8/24/05.

http://foodnsport.com/aabox8/catalog/

I put that mod inside the body tag of mainpagetpl as suggested, and my categories box showed up empty. Freaked me out. Tried to reload the page several times. That was Firefox and IE. No luck.

I restored my mainpagetplorig file, and my categories came back.

That's what I saw, and all I can report...just a user, after all.

It seems fundamentally wrong - modifying a mainpagetpl type file to fix a problem on a specific page that uses that template. Hopefully, there's a more localized solution.

Thanks,
Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-10-2005, 04:02 PM
New Member
 
Join Date: Nov 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tcador
Default RE: No mods

I tried to apply the fix and it broke my categories box on any product page as well. I had to remove the "fix" and will look into it further when I get more time. I think the problem is the javascript referenced by the onload call is not loaded in all cases.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Creating default Shipping method mrmartini osCMax v1.7 Discussion 0 03-30-2005 10:04 PM
Is it Possible to create a new Payment Method? Milmod osCommerce 2.2 Modification Help 3 03-20-2005 01:12 PM
payment method only in the UK? Kristina osCommerce 2.2 Modification Help 3 02-28-2005 03:48 PM
Defining a payment method for a shipping method Lynoure osCommerce 2.2 Installation Help 0 06-12-2003 11:46 PM
No Payment Method Showing On Checkout MysticWonder osCommerce 2.2 Modification Help 3 02-26-2003 07:29 AM


All times are GMT -8. The time now is 08:32 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax