• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Buy Now as quick checkout option?

General Discussion
3
4
830
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    karkiswapnil last edited by 4 Nov 2019, 07:50

    Is there a way to buy now a single product regardless of cart status? If I have number of items in cart but if click on buy now for a product the particular product should only be processed during checkout.

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by 4 Nov 2019, 08:17

      Hello @karkiswapnil

      Right Now, these is not there. If you want to implement this one, then you need to change whole cart functionality.

      Right now, we have two tables, one is cart and second one is cart_items. cart_items consist all items of cart, so in your case you need to change relationship between these two tables.

      Thanks

      1 Reply Last reply Reply Quote 0
      • M
        maheshb last edited by maheshb 15 Nov 2019, 07:38 4 Nov 2019, 10:24

        @rahul said in Buy Now as quick checkout option?:

        Right now, we have two tables, one is cart and second one is cart_items. cart_items consist all items of cart, so in your case you need to change relationship between these two tables.

        Hello Swapnil,

        We have implemented this feature with the following approach, check if it helps -

        1. Deactivated the existing cart (if exist) and stored the current cart id in the session.
        2. After completing Buy Now process along with payment for a single product, reactivated the old cart id which we have saved in step 1.
        3. If the user doesn't complete Buy Now process for some reason then, in this case, re-activate the old cart from the session and deactivate current cart i.e. created for Buy Now.
        1 Reply Last reply Reply Quote 0
        • K
          karkiswapnil last edited by 5 Nov 2019, 04:36

          Thanks, will try to do this.

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post