Announcement

Collapse
No announcement yet.

mystery email generation - related to toolkit waitlist?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    mystery email generation - related to toolkit waitlist?

    working on an upgrade to miva 5.5 and have implemented the toolkit wait list function. Tests indicate that it works as expected. However, this morning I received an email from the store at each of the email addresses that I'd used for test purposes. These emails contained only the subject line "your store visit" and nothing else. This is not the email configured for wait list. Has anyone any idea what would have generated these two emails?

    Thanks,
    Lori

    #2
    Re: mystery email generation - related to toolkit waitlist?

    Out of curiosity, do you have any of the other email functions in toolkit enabled? Or do you have the emporiumplus Mail Manager module installed?
    Mark Romero
    ~~~~~~~~

    Comment


      #3
      Re: mystery email generation - related to toolkit waitlist?

      Sounds like you were experimenting with the visit to a page capability in the tool kit. See #98 at http://www.emporiumplus.com/1AA00223.html
      Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
      Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
      Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
      Facebook http://www.facebook.com/EmporiumPlus
      Twitter http://twitter.com/emporiumplus

      Comment


        #4
        Re: mystery email generation - related to toolkit waitlist?

        I am not aware that we have used the visit to page (I'll double check with my helper) but I did just review the list of pages in the store and there is nothing there that I cannot identify. We've added only a handful to the store and I see nothing in any of them.

        I don't have emporium plus mail manager.

        Would my host be able to look at log files and identify what generated the email?

        Comment


          #5
          Re: mystery email generation - related to toolkit waitlist?

          Go to admin > pages and click Items at the top right. Scroll to toolkit. Click edit. Click pages. That will tell you every page the toolkit is assigned to. Check each page to see if the smtp function is being used. It would be on a regular page. For example, I had it on the PROD page and if the product code was a certain code, it would trigger an email telling me someone looked at that product.
          Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
          Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
          Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
          Facebook http://www.facebook.com/EmporiumPlus
          Twitter http://twitter.com/emporiumplus

          Comment


            #6
            Re: mystery email generation - related to toolkit waitlist?

            ok - I used find to search each html item of each toolkit assigned page for the word toolkit and looked at each function used. We are not using the smtp function.

            The email generation has happened on two separate occasions thus far. Each time it was while we were testing the wait list functionality so I assumed it had something to do with it.

            Any other ideas?

            Comment


              #7
              Re: mystery email generation - related to toolkit waitlist?

              Look at the WAITLIST_EMAIL page template. What did you put for the subject?
              Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
              Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
              Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
              Facebook http://www.facebook.com/EmporiumPlus
              Twitter http://twitter.com/emporiumplus

              Comment


                #8
                Re: mystery email generation - related to toolkit waitlist?

                The subject is

                Pet Crates Direct - Item Requested Is Back In-stock

                The waitlist email generates and displays as it should when I restock the out of stock item.

                Comment


                  #9
                  Re: mystery email generation - related to toolkit waitlist?

                  For some reason, it is thinking you did not supply a subject. If there is no subject in the template, it inserts "your store visit". It may be selecting a wrong page if the database returns a different template ID. Did you get the email delivered to your address or was it a bounce back from a bad address that could not be delivered?
                  Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                  Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                  Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                  Facebook http://www.facebook.com/EmporiumPlus
                  Twitter http://twitter.com/emporiumplus

                  Comment


                    #10
                    Re: mystery email generation - related to toolkit waitlist?

                    The emails went to the addresses that I used when signing up for the waitlist. These same addresses received the properly formatted "back in stock" emails when I added inventory. The additional emails with the "your store visit" subject seem completely random (not initiated or received at the same time as the proper emails and no text in the body at all). Thus far I have not been able to determine what particular scenario is common to the random appearance of these emails (two times so far).

                    I do not understand what you mean by
                    "It may be selecting a wrong page if the database returns a different template ID".

                    You can see our implementation of the waitlist function on this page on the dev site - http://dev.petcratesdirect.com/dog-c...fe-stages.html

                    We have inserted the link shown as "view estimated arrival date" into the long low stock inventory message so it will show only for appropriate variants as needed. That link opens a jquery modal with the wait list form. Additionally, to prompt the back in stock email to generate we have rendered the waitlist on the product page itself which we will hide with css(presently visible under the product tabs section).

                    here is the code used in the inventory message:

                    Code:
                     
                    Status: <span class="orange bold"> on backorder</span>
                    <mvt:if expr="g.Screen EQ 'PROD'">
                    <a href="/mm5/merchant.mvc?Store_Code=PCD&Screen=WAITLIST&Product_code=%product_code%&show_wait=1" onclick="return showDialog()"> - view estimated arrival date </a>
                    <div id="waitlistwindow" title="Estimated Arrival Dates">
                        <iframe id="modalIframeWaitlist" width="100%" height="100%"
                        marginWidth="0" marginHeight="0" frameBorder="0" scrolling="no"
                        title="Estimated Arrival Dates"></iframe>
                    </div>
                     
                    </mvt:if>
                    and the code in page WAITLIST
                    Code:
                     
                    <mvt:if expr="g.Screen NE 'PROD'">
                    <html>
                    <head>
                    <title>Wait List</title>
                    </head>
                    <body>
                    </mvt:if>
                    <div id="modalcontent" style="text-align: left;">
                    <mvt:item name="toolkit" param="waitlist|outcount|g.product_code|0" />
                    <mvt:if expr="g.outcount GT 0">
                    <mvt:if expr="g.show_wait">
                    <mvt:item name="toolkit" param="custom|bo|l.all_settings:product:id|backorder" />
                                                    <mvt:if expr="g.bo">
                                                       <p>&mvt:global:bo;</p>
                                                    </mvt:if><hr />
                    <p>We encourage you to order today to insure your place in line for arriving inventory.</p>
                    <p>You may also choose to be added to our wait list(below) and we will email when inventory is available.</p>
                    <table border="1" bgcolor="#d3d369" cellpadding="2" cellspacing="2">
                    <tr><td align="left">
                    <mvt:item name="fonts" param="ctgy_font">
                    <br>Out of Stock
                    <form action="&mvt:global:sessionurl;" method="POST">
                    <input type="hidden" name="Screen" value="&mvte:global:Screen;">
                    <input type="hidden" name="Product_Code" value="&mvte:global:product_code;">
                    <input type="hidden" name="Store_Code" value="&mvte:global:store:code;">
                    <input type="hidden" name="show_wait" value="1">
                    <mvt:foreach iterator="choice" array="tk_inventory">
                    <mvt:if expr="l.settings:choice:count_onhand LE 0">
                    <mvt:if expr="g.outcount EQ 1">
                    <input type="hidden" name="reserve" value="&mvte:choice:id;">
                    <mvt:else>
                    <input type="radio" name="reserve" value="&mvte:choice:id;">
                    </mvt:if>
                    &mvt:choice:name; 
                    <mvt:if expr="NOT ISNULL l.settings:choice:option">
                    (&mvt:choice:option;)
                    </mvt:if>
                    <br>
                    </mvt:if>
                    </mvt:foreach>
                     
                    Your Email 
                    <input type="text" name="wait_email" value="&mvte:global:customer:bill_email;" size="30">
                    <input type="submit" name="waiting" value="Wait List Me">
                    </form>
                    <mvt:if expr="g.wait_error EQ 'select'">
                    <font color="red">
                    <br>Please select one
                    </font>
                    </mvt:if>
                    <mvt:if expr="g.wait_error EQ 'already'">
                    <font color="red">
                    <br>You are already on the list
                    </font>
                    </mvt:if>
                    <mvt:if expr="g.wait_length EQ 1">
                    <br>One person is waiting for this item
                    </mvt:if>
                    <mvt:if expr="g.wait_length GT 1">
                    <br>&mvte:global:wait_length; people are waiting for this item
                    </mvt:if>
                    </mvt:item>
                    </td></tr></table><br />
                     
                     
                    <mvt:else>
                    <!-- you can only use this option if the screen the wait list is called from is PROD.  It is an in 
                    place sign-up form.  Test it out and see what it does.  You may not even use it. //-->
                    <mvt:if expr="g.Screen EQ 'PROD'">
                    <a href="&mvt:global:sessionurl;Screen=&mvta:global:Screen;&Product_Code=&mvta:global:Product_code;&Store_Code=&mvta:global:store_code;&show_wait=1">
                    Wait List</a>
                    </mvt:if>
                     
                    </mvt:if>
                    </mvt:if>
                    <mvt:if expr="g.Screen NE 'PROD'">
                    </div>
                    </body>
                    </html>
                    </mvt:if>
                    the waitlist email page is using the code you provided with only changes being to personalize the subject and signature.

                    Comment


                      #11
                      Re: mystery email generation - related to toolkit waitlist?

                      another thought - would how the inventory got back into stock have any effect? - ie an expiring cart versus an inventory adjustment in admin

                      Comment


                        #12
                        Re: mystery email generation - related to toolkit waitlist?

                        Makes no difference. A visit to the page after restocked will trigger the email.
                        Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                        Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                        Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                        Facebook http://www.facebook.com/EmporiumPlus
                        Twitter http://twitter.com/emporiumplus

                        Comment

                        Working...
                        X