Announcement

Collapse
No announcement yet.

Skipping the Shipping/Payment Screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Skipping the Shipping/Payment Screen

    I have a wholesale store where we do not need to collect shipping/payment methods. Currently on the OSEL screen if a customer does nothing but click the continue button everything works. I would like to be able to jump from the OCST screen to the OPAY screen. The OCST page contains the following code:

    <form method="POST" action="&mvt:global:secure_sessionurl;">

    <mvt:if expr="l.settings:basket:total GT 0">
    <input type="hidden" name="Action" value="ORDR">
    <input type="hidden" name="Screen" value="OUSL">
    <mvt:elseif expr="g.Store:req_frship">
    <input type="hidden" name="Action" value="ORDR">
    <input type="hidden" name="Screen" value="OSEL">
    <mvt:else>
    <input type="hidden" name="Action" value="ORDR,SHIP,CTAX,AUTH">
    <input type="hidden" name="Screen" value="INVC">
    </mvt:if>

    <input type="hidden" name="Store_Code" value="&mvte:store:code;">

    Does anyone know how to change this code so the customer is taken directly to the OPAY screen?

    BTW would anyone like to comment on what the heck a OUSL screen is? Or what the req_frship variable is?
    Last edited by gsam; 05-16-08, 01:31 PM.
    Gary

    [email protected]
    www.icCommerce.com

    #2
    Re: Skipping the Shipping/Payment Screen

    I'm looking for the exact same solution. Need to figure out how to skip that page even if the basket total is non-zero. Don't need shipping or payment.

    I'd even pay for a 3rd party module.

    Anybody? :)

    Comment


      #3
      Re: Skipping the Shipping/Payment Screen

      I did get this work but it has some limits. The OUSL screen I was asking about has to do with upsales. If you have a single upsale item it directs you to the OUS1 and multiple items directs you to OUSM. The problem I ran into is that from either of the upsale screen I could not figure out how to go the the OPAY it always directed me to the OSEL.

      Because I'm not currently using the upsale I didn't worry about it.
      I changed the OCST to:
      Code:
      <mvt:if expr="l.settings:basket:total GT 0">
              <input type="hidden" name="Action"    value="ORDR,SHIP,CTAX,PSHP">
              <input type="hidden" name="Screen"    value="OPAY">
          <mvt:elseif expr="g.Store:req_frship">
              <input type="hidden" name="Action"    value="ORDR,SHIP,CTAX,PSHP">
              <input type="hidden" name="Screen"    value="OPAY">
          <mvt:else>
              <input type="hidden" name="Action"     value="ORDR,SHIP,CTAX,AUTH">
              <input type="hidden" name="Screen"    value="INVC">
          </mvt:if>
      
          <input type="hidden" name="Store_Code"        value="&mvte:store:code;">
          <input type="hidden" name="PaymentMethod"   value="NBPOA:POA">
          <input type="hidden" name="ShippingMethod"   value="flatrate:to be determined">
      This will jump from the OSCT to the OPAY and pass my payment and shipping values.

      I don't remember but on the OPAY screen I probably had to populate the shipping and and payment methods with the passed values.
      Gary

      [email protected]
      www.icCommerce.com

      Comment


        #4
        Re: Skipping the Shipping/Payment Screen

        I noticed that eMediaSales now has a One-Page checkout module. It might do what you want.
        Gary

        [email protected]
        www.icCommerce.com

        Comment


          #5
          Re: Skipping the Shipping/Payment Screen

          gsam:

          Thanks, your edits for the OCST and OPAY screens worked just fine. Thank you.

          I wish I could skip OPAY totally and just go from OCST right to INVC, but haven't figured that one out yet.

          And yes, you were correct, you have to put the shipping and payment hidden variables on OCST as well as OSEL.

          Comment


            #6
            Re: Skipping the Shipping/Payment Screen

            I do make use of the OPAY screen by adding 2 optional fields. Using the addendum module we have a field where the customer can optionally input a purchase order number and a second field where they can leave us a note.
            Last edited by gsam; 03-08-09, 09:39 AM.
            Gary

            [email protected]
            www.icCommerce.com

            Comment


              #7
              Re: Skipping the Shipping/Payment Screen

              Thank you for posting your solution. This helped me tremendously on a Miva cart that I'm converting to be just a catalog to run quotes!


              WebProdigy
              Design • Develop • Host

              Lynn Wenger, Owner/Operator
              ---------------------------------------------------------------------------------
              915 SW Rimrock Way Call: 253-205-6660
              Suite 201 PMB 114 FAX: 1-877-220-7583
              Redmond, OR 97756 Online: WebProdigy.com

              Comment

              Working...
              X