Bagisto Forum

    Bagisto

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

    Error send multiples same emails when complete shipping

    General Discussion
    2
    8
    547
    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.
    • A
      alexVillalobos last edited by

      Hello dear bagisto community, I have the following problem, it is not a problem in itself, notice when I complete a purchase process and the invoice is issued I receive 5 identical emails with the same thing where I can manipulate or search in which part that is configured to see what's happening.

      devansh-webkul 1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul @alexVillalobos last edited by

        @alexVillalobos,

        Not able to reproduce. Have you done any customization?

        Also, please let us know which Bagisto version you are using.

        A 1 Reply Last reply Reply Quote 0
        • A
          alexVillalobos @devansh-webkul last edited by alexVillalobos

          @devansh-webkul use Bagisto 2.0, this on 2 cases default and custom theme, and nothing customization special only data with default

          devansh-webkul 1 Reply Last reply Reply Quote 0
          • devansh-webkul
            devansh-webkul @alexVillalobos last edited by

            @alexVillalobos

            For custom theme, what you have done actually, have you added mail related code in your custom theme?

            A 2 Replies Last reply Reply Quote 0
            • A
              alexVillalobos @devansh-webkul last edited by

              @devansh-webkul Not only do I have it enabled for the customer to receive an email when they place a new order, but it sends me 3 emails and not 1

              1 Reply Last reply Reply Quote 0
              • A
                alexVillalobos @devansh-webkul last edited by

                @devansh-webkul oh i find problem, when have multiples themes i mean default, store, myTheme, etc. etc and complete shipped system call event on all

                devansh-webkul 1 Reply Last reply Reply Quote 0
                • devansh-webkul
                  devansh-webkul @alexVillalobos last edited by

                  @alexVillalobos

                  Yes, we handle all the events, so you don't need to worry about that. You just need to place your view for the respective theme.

                  Our theme viewfinder will detect the current theme and replace your view accordingly.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    alexVillalobos @devansh-webkul last edited by

                    @devansh-webkul said in Error send multiples same emails when complete shipping:

                    Yes, we handle all the events, so you don't need to worry about that. You just need to place your view for the respective theme.
                    Our theme viewfinder will detect the current theme and replace your view accordingly

                    Yes, but the problem comes from the fact that the listeners do not discriminate by topic, they are selected and they are all invoked regardless of the topic. An unprofessional fix was to place a return on the rest of the events that invoke the sending of email when generating an order and only leave my one running. selected topic with this it is solved but it should be possible to execute each event in relation to the selected topic

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