Once the customer has made a purchase from a gift registry or wish list, you may optionally update the gift registry or wish list using the "Post Back" feature. There are two methods for accomplishing this:
- Using Cookies
- Fully Integrating Registry Valet with your cart system
One is easier and faster, the other is better. Let's start with the easy/fast version.
Integration using Cookies
When a customer makes a purchase from a gift registry, the item purchased is saved in a cookie which the customer is proceeding through checkout. Once they reach the final "receipt page", the item information is retrieved from the cookie and posted back to Registry Valet to update the registry. This method, although very simple to implement has two drawbacks. First, if the customer decides to change the quantity of the item(s) that they are buying, the cookie will have no way of knowing. The solution to this is to read the alert email that Registry Valet will send you and compare it to the order that the customer placed. The second drawback is that if the customer has disabled cookies in their browser (which is somewhat rare), then there will be no data passed to the receipt page.
To setup cookie-based integration, click Registry Settings in the administrator and change the "Integration Method" setting to "Cookie Based". Then, copy the following line of code and paste it into your shopping cart's receipt page:
<iframe src="http://apps.agenne.com/RegistryPostBackAction.cfm" height="0" width="0" frameborder="0"></iframe>
Note: If you are using a custom sub-domain (such as registry.mysite.com) instead of the default apps.agenne.com, you will need to substitute your custom sub-domain for apps.agenne.com in the line of code above. Using our example (registry.mysite.com), the correct line of code would be:
<iframe src="http://registry.mysite.com/RegistryPostBackAction.cfm" height="0" width="0" frameborder="0"></iframe>
That's all there is to it.
This option requires a little bit of technical expertise and your cart software must support the following:
- Registry Valet automatically includes additional form fields in the "Add to Cart" forms on the gift registry display page (where a customer views the list of desired items on a gift registry or wish list). These additional fields are a unique ID for the registered item and the name of the registrant. In order to complete the post back, your cart system must be capable of accepting these additional form fields and passing them on to the final receipt page in the checkout process.
- Your cart software must allow you to add a hidden form post to the final receipt page. This means that you will need access to the source code for your cart system. If you do not have access to the source code for your cart system, contact the manufacturer and ask them to contact us, we will be happy to assist them with integrating Registry Valet software into their cart software free of charge.
It is also important to note that in order for Registry Valet to pass the identifying variables to your cart software, you must use forms for your add-to-cart code and not links. Registry Valet can add additional fields to forms, but not to links.