Announcement

Collapse
No announcement yet.

Access a Basket with a Basket ID

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

    Access a Basket with a Basket ID

    I am currently trying to work on some shopping cart abandonment stuff, and one of the modules I'm setting up (Show Baskets) will display the Basket ID. I have a quote module that will allow me to save basket contents to a quote system and alter the contents or send the quote to a customer. What I would like to be able to do is access the basket on my site using the basket id so that I don't have to individually add each item to my basket.

    Is this possible?

    Thank you,

    Greg

    #2
    Re: Access a Basket with a Basket ID

    Joining thread
    Larry
    Luce Kanun Web Design
    www.facebook.com/wajake41
    www.plus.google.com/116415026668025242914/posts?hl=en


    Comment


      #3
      Re: Access a Basket with a Basket ID

      I don't think there is a good way to do what you need. The data is in the database can can be looked by based on the basket id, but you would need a to query the database yourself either via toolbelt on the front end or a custom module on the admin side.
      Brennan Heyde
      VP Product
      Miva, Inc.
      [email protected]
      https://www.miva.com

      Comment


        #4
        Re: Access a Basket with a Basket ID

        We use EP's (Bill) Restock Shelves module to do that (even though we don't keep inventory). Works marvelously to send a customer the basket they abandoned during checkout. You can copy yourself on the Email.

        We've also had great luck with the "Email me my basket" feature of Toolkit.

        Comment


          #5
          Re: Access a Basket with a Basket ID

          Originally posted by nottheusual1 View Post
          We use EP's (Bill) Restock Shelves module to do that (even though we don't keep inventory). Works marvelously to send a customer the basket they abandoned during checkout. You can copy yourself on the Email.

          We've also had great luck with the "Email me my basket" feature of Toolkit.

          I bought that module but haven't had much success getting it set up the way I want. I'm trying to get it to auto save the basket so that a customer can just click the link in the restock shelves email. Asked Bill a few questions, but he just keeps sending me back to his website instructions telling me to read them and they are pretty vague in regards to this.

          Anyway, specifically what I want this feature to do is exactly what it does on EP's site:

          Customer adds item to cart, goes to customer info page, enters customer info, proceeds to shipping/payment selection, then leaves the site. Later, module sends email with list of basket items and a link to restore that basket. The customer never had to manually save their basket, just has to click that link in the email.

          So I set up the module the way I thought was right from the instructions. But, the only thing that works is the manual basket save/restore. The basket will not automatically save itself.

          Here's what I've got in the lines of code....Refer to EP's site for toolkit....Look at item 131 for the savebasket2email then about 3/4's of the way through that you will see a "how to"...open that.

          BASK page has toolkit assigned and has the code from where is says:

          <!-- start basket save and restore messages //-->

          To where it says:


          <!-- end save basket to email address //-->

          The RESTOCK_E page has toolkit is assigned and has this code:

          <mvt:item name="toolkit" param="vassign|myemail|g.basket:bill_email" />
          <mvt:item name="toolkit" param="savebasket2email|ecount|1|20|g.basketitems[1]:basket_id|1" />
          <mvt:if expr="g.ecount GT 0">
          <a href="http://www.royalswimmingpools.com/Me...al:store:code;">
          Retrieve Last Saved Basket</a>
          </mvt:if>

          Now, if I leave the email code like that, the link does not display in the email. But, if I remove the if statement, the link will display correctly but will not restore a basket, it simply takes me to an empty basket page.

          Here's the link generated if I remove the if statement from the email:

          http://www.royalswimmingpools.com/Me...&Store_Code=10

          Any suggestions on what I did wrong or what I need to change?

          Comment


            #6
            Re: Access a Basket with a Basket ID

            You seem to be trying to do both things at once -- start by getting **just** the Save Basket to Email Toolkit function working first. In our Emails we link to a page called RCART that has the form to put the products back in the basket, so the customer can choose from one or more or do a complete restore.

            You can try it out in our store to see how it works:

            http://promotional-pens.pensrus.com

            There is a place on the basket page to enter your Email address. If it's what you're wanting to do, I'll share what I can beyond the set-up instructions Bill provides, but that's what I used to get it working.

            Comment


              #7
              Re: Access a Basket with a Basket ID

              The manual Save/Restore function works fine, even now. It is actually on my basket page, just hidden in a div.

              The problem is, I can't seem to get the basket to pre-save in any way. If I take out the conditional from the RESTOCK_E page, I can get the link to format correctly, with the email address in it, but it takes me to an empty basket.
              Last edited by Greg - Royal; 03-31-14, 10:46 AM.

              Comment


                #8
                Re: Access a Basket with a Basket ID

                Hey all,

                Still trying to get this figured out if anyone could offer up any other insight.

                -Greg

                Comment


                  #9
                  Re: Access a Basket with a Basket ID

                  I'm not sure what you mean by "pre-save" -- can you help there?

                  Comment


                    #10
                    Re: Access a Basket with a Basket ID

                    Are you using the current version of the restock shelves module?
                    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


                      #11
                      Re: Access a Basket with a Basket ID

                      Originally posted by nottheusual1 View Post
                      I'm not sure what you mean by "pre-save" -- can you help there?
                      Sure, I'll reference Bill's site as an example. Say you go to his site, add an item to the basket, go to checkout, enter customer information, proceed to the shipping and payment selection page, then leave the site. The email you receive later on from restock shelves/sale saver, has a link in it "Retrieve Last Saved Basket" which, if you click it, returns you to the site and pulls up the basket with the items from that email in it. You did not have to manually save the basket, it "pre-saves" the basket for you.

                      See the documentation he has on it at his website under the toolkit product item 131:

                      "A variation of the token is to pre-save the customer email so that it can be tied to a specific basket id. This is only practical in the Restock Shelves module email (RESTOCK_E) or similar action. The 5th parameter is the basket id and the 6th is a flag to overwrite a previously saved basket or abort if a non-expired saved record exists for the email address. Leave the 6th blank for overwrite or 1 if you do not want to overwrite. This example shows the 1 in the 6th parameter for no overwrite. Generally, you will not want to overwrite in order to retain the last purposely saved, non-expired record. Be sure to change the domain in the basket link in the example."

                      Comment


                        #12
                        Re: Access a Basket with a Basket ID

                        Originally posted by wcw View Post
                        Are you using the current version of the restock shelves module?
                        I just purchased it from you less than 2 weeks ago so I would assume so. It is version 5.0260.

                        Comment


                          #13
                          Re: Access a Basket with a Basket ID

                          That is current
                          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


                            #14
                            Re: Access a Basket with a Basket ID

                            Bump - Still looking for some assistance with this project

                            Comment


                              #15
                              Re: Access a Basket with a Basket ID

                              The instructions look pretty straight forward. I'm assuming if there is a RESTOCK_E page in your store, then Restock Shelves will fire off the email to the customer. If not, it won't. We don't use this functionality, but we have been testing his FOLLOWON email system which if I had to guess is designed in a similar fashion. I would make sure that the "toolkit" item is assigned to the RESTOCK_E page, but besides that, if the template is right (I would test his code before modifying) I'm not really sure.

                              Are you currently getting the Restock Shelves email to your address, meaning is Restock Shelves actually firing on a regular basis?
                              Jason Fancett
                              America's SPA-MART - "Where Spa Owners Shop SMART!"
                              Check us out for all of your hot tub needs including spa covers, spa filters, spa chemicals and more.
                              Miva Merchant forum users can use coupon code MIVAFORUM to receive $5 off your first order of $30 or more.

                              Comment

                              Working...
                              X