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

Bagisto

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

Add to cart is empty if you are not logged in mini-cart is status: false

Knowledge Base
cart add to cart help empty cart bagisto
2
8
1.4k
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
    Kamdjou last edited by Kamdjou 29 Dec 2021, 08:35 27 Dec 2021, 09:06

    Hi everyone,
    Please I have setup Bagisto 1.3.2 on an ubuntu machine everything is working.

    • But, when I click on add to cart from home page I can see a success pop pup message saying added to cart, but nothing is actually added.

    • If I click on buy now or add to cart from the product detail page it just fresh and return empty in the cart.

    Please can someone help me fixing this.

    After checking the console->network tab I can see mini-cart logging status: false I don't know if this is a config problem or not

    Thanks

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 29 Dec 2021, 14:11

      I am not able to reproduce this in the version 1.3.2 have you done any changes.

      1 Reply Last reply Reply Quote 0
      • K
        Kamdjou last edited by 29 Dec 2021, 14:56

        Thank for your reply @devansh-webkul
        I am experimenting this in production but in local it's working well.

        I did some changes but mostly in style and the same is working locally but not in production.

        Please what is the more deep way to check the version without relying on the version parameter from the .env?
        This is because I loose this parameter at some point while trying to upgrade. So, I am not very sure of the proper version I am running.

        Thank you.

        1 Reply Last reply Reply Quote 0
        • devansh-webkul
          devansh-webkul last edited by 30 Dec 2021, 03:48

          Hi @Kamdjou,

          Yeah currently in Bagisto is in .env. It should be handled in the class from the constant.

          1 Reply Last reply Reply Quote 0
          • K
            Kamdjou last edited by 4 Jan 2022, 11:35

            Yes @devansh-webkul I can confirm that it's bagisto version 1.3.2 from: .env.example and .env.testing files.

            Please how can I debug this it's becoming crucial to me?

            Thanks and happy new year 🙂

            1 Reply Last reply Reply Quote 0
            • devansh-webkul
              devansh-webkul last edited by 4 Jan 2022, 13:50

              I think something wrong with you instance, i am not able to reproduce that.

              1 Reply Last reply Reply Quote 0
              • K
                Kamdjou last edited by 5 Jan 2022, 16:33

                @devansh-webkul thank you my friend.
                I have to redeploy the instance and re add my customizations and it works.
                it was a very ambiguous one.

                Thanks

                1 Reply Last reply Reply Quote 0
                • devansh-webkul
                  devansh-webkul last edited by 6 Jan 2022, 04:16

                  @Kamdjou,

                  It usually happens and I am glad that you reported also.

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