Developer forum

Forum » Ecommerce - Standard features » Add to cart and checkout on the same page

Add to cart and checkout on the same page

Hans Ravnsfjall
Hans Ravnsfjall
Reply

Hi

See attachment. What would be the best way to do this? What we want is, when you enter the page the cart contains 50 DKR (considering using a product named 1DKR costing 1,-DKR a piece)

On this same page, it shall be possible to change the cart (change the amounts of 1DKR) by either clicken one of the other options, or by entering the amount manually in the last field. Want to do this by using javascript.

But what i am looking for,  is info on how i set up this onepage checkout, and what do i "call" to alter the cart?

/Hans

Skærmbillede_2020-07-09_kl._16.17.02.png

Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Hans

You can do the product as a giftcard (that cannot be used). It supports variable price and you can do the form to add a giftcard to the cart on the cart page it self.

BR Nicolai

Votes for this answer: 1
 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Thank you Nicolai, will try that 👍🏻

/Hans

 

You must be logged in to post in the forum