Jump to content

PS1.6 index.php?controller=cart is it possible to skip a page and go straight to controller=order-opc ?


Recommended Posts

I am a merchant on PS 1.6, learning a bit of code as I go.

When I order a product, I get to a popup cart page, with a checkout button.
Is there any way to skip this stage for a quicker checkout?

For example this product page:
http://www.veganline.com/x/index.php?id_product=76&controller=product
has a button to "add to cart"...

<form id="buy_block" action="http://www.veganline.com/x/index.php?controller=cart" method="post">
            <input type="hidden" name="token" value="7ad8600a8f07f43c73c1f6c08d552a83">
            <input type="hidden" name="id_product" value="76" id="product_page_product_id">
            <input type="hidden" name="add" value="1">
            <input type="hidden" name="id_product_attribute" id="idCombination" value="1037">

Then on the popup page
<a href="https://www.veganline.com/x/index.php?controller=order-opc" title="Checkout - (this takes a second)" rel="nofollow">
                Checkout - (this takes a second) »
              </a>  == $0
(I teach myself snippets of code from my browser's "inspect" function, and a bit of googling, but I don't have a bigger picture of how the cart works.)
Any help welcome
John Robertson

Edited by johnrobertson (see edit history)
Link to comment
Share on other sites

11 minutes ago, johnrobertson said:

I am a merchant on PS 1.6, learning a bit of code as I go.

When I order a product, I get to a popup page, with another order button.
Is there any way to skip this stage and get a shorter checkout process?

For example this product page:
http://www.veganline.com/x/index.php?id_product=76&controller=product
has a button to "add to cart"...

<form id="buy_block" action="http://www.veganline.com/x/index.php?controller=cart" method="post">
            <input type="hidden" name="token" value="7ad8600a8f07f43c73c1f6c08d552a83">
            <input type="hidden" name="id_product" value="76" id="product_page_product_id">
            <input type="hidden" name="add" value="1">
            <input type="hidden" name="id_product_attribute" id="idCombination" value="1037">

Then on the popup page
<a href="https://www.veganline.com/x/index.php?controller=order-opc" title="Checkout - (this takes a second)" rel="nofollow">
                Checkout - (this takes a second) »
              </a>  == $0
(I teach myself snippets of code from my browser's "inspect" function, and a bit of googling, but I don't have a bigger picture of how the cart works.)
Any help welcome
John Robertson

 

Don't know exactly what you mean. Once you add the product to the cart, it appears a resume popup. Then you can go to order OPC controller. What do you want to skip?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...