ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Few starter questions:
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Few starter questions:

 Post Reply Post Reply Page  <12
Author
Message
e4h View Drop Down
Groupie
Groupie


Joined: 22-June-2009
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote e4h Quote  Post ReplyReply Direct Link To This Post Posted: 01-July-2009 at 5:05pm
ok... so i have been toying with the OrderVerify.asp page.

I have located the code that populates the payment type dropdown box.
I have used this code:

if int(pidPayment)=int(tempidPayment) then %>

<% If session("customerCategory")="6" then %>
<option value="OrderVerify.asp?idpchange=<%=tempidPayment%>&idDbSession=<%=pidDbSession%>&randomKey=<%=prandomKey%>&UseRewards=<%=session("pcSFUseRewards")%>&discountcode=<%=pDiscountShowCode%>" selected>
<% end if %>

<% else %>

<% If session("customerCategory")="5" then %>
<option value="OrderVerify.asp?idpchange=<%=tempidPayment%>&idDbSession=<%=pidDbSession%>&randomKey=<%=prandomKey%>&UseRewards=<%=session("pcSFUseRewards")%>&discountcode=<%=pDiscountShowCode%>" selected>
<%end if %>

<% end if %>





now, the drop down box will only display ONE payment type.
PERFECT.

however, by default NET 30 is still selected, and the drop down box shows Prepay.

in other words- it is displaying prepaid in the box, but net 30 is selected.

it seems as if the code from the "onchange" location.href=this[this.selectedIndex].value;
would do it, but i am unsure how to execute this.


Edited by e4h - 01-July-2009 at 5:17pm
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.