Bagisto Forum

    Bagisto

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

    Can't able to place order as guest user

    Bug Report
    2
    6
    293
    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.
    • H
      haseebkamboh last edited by

      Screenshot 2024-02-25 at 6.38.46 PM.png

      when i click on the confirm button than getting these errors picture is attached below.

      Screenshot 2024-02-25 at 6.59.38 PM.png

      changed js code in Webkul/shop/src/resources/views/checkout/onepage/addresses/index.blade.php

      if (!Array.isArray(params.billing?.address1)) {
      params.billing = Object.assign({}, params.billing);

      params.billing.address1 = params.billing.address1.split('\n');
      }

      if (!Array.isArray(params.shipping?.address1)) {
      params.shipping = Object.assign({}, params.shipping);

      params.shipping.address1 = params.shipping.address1.split('\n');
      }

      TO

      if (!Array.isArray(params.billing?.address1) && params.billing?.address1) {
      params.billing = Object.assign({}, params.billing);

      params.billing.address1 = params.billing.address1.split('\n');
      }

      if (!Array.isArray(params.shipping?.address1) && params.shipping?.address1) {
      params.shipping = Object.assign({}, params.shipping);

      params.shipping.address1 = params.shipping.address1.split('\n');
      }

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @haseebkamboh

        Greetings of the day..!!

        Can you please let us know which Bagisto version are you using right now.

        Thanks & Regards..!!

        H 2 Replies Last reply Reply Quote 0
        • H
          haseebkamboh @Rishabh-Webkul last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • H
            haseebkamboh @Rishabh-Webkul last edited by

            @Rishabh-Webkul v2.1.0

            1 Reply Last reply Reply Quote 0
            • Rishabh-Webkul
              Rishabh-Webkul last edited by

              Hello @haseebkamboh

              In Version 2.1.0 there is a minor issue with checkout, we are working on it. Will be dropping a minor release soon to fix this.

              Thanks & Regards..!!

              1 Reply Last reply Reply Quote 0
              • Rishabh-Webkul
                Rishabh-Webkul last edited by Rishabh-Webkul

                Hello @haseebkamboh

                Greetings of the day..!!

                We have got the minor release, please take a pull from here: https://github.com/bagisto/bagisto/releases/tag/v2.1.1

                Thanks & Regards..!!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post