ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Suggestions
  New Posts New Posts RSS Feed - Add to gift registry from product page?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedAdd to gift registry from product page?

 Post Reply Post Reply
Author
Message
nurvserver View Drop Down
Newbie
Newbie


Joined: 12-January-2009
Status: Offline
Points: 0
Direct Link To This Post Topic: Add to gift registry from product page?
    Posted: 12-January-2009 at 11:36pm
Anyone have any ideas on adding product to the gift registry from the viewPrd.asp page? It is very unintuitive to have to add the product to the shopping cart and then add it to the registry. I can get it to work fine except for products that are apparel products. The apparel product will only post the main product not the specified sub product.

My really ghetto working workaround for adding to the registry page that is NOT an apparel sub product goes like this. (make backups before proceeding)
1. From the pc folder duplicate the instPrd.asp and rename it to instPrd2.asp
2. In instPrd2.asp find the line response.redirect "viewCart.asp" replace it with response.redirect "viewcart2.asp"
3. From the pc folder duplicate viewCart.asp and rename it to viewCart2.asp
4. In viewCart2.asp find the line <% call closedb() %> and right before it add a redirect <%response.redirect "ggg_addtoGR.asp"%>
5. Upload both instPrd2.asp and viewCart2.asp
5. You then need an add to registry button on the product page. Open the file viewPrdCode.asp. I added it around the add to cart button, you can find the add to cart button by searching for the line <input alt="Add" src="<%=pcv_tmpNewPath%><%=rslayout("addtocart")%>" type="image" name="add" border="0" id="submit" />.
Add this code where you would like your add to registry button:
<a href="instPrd2.asp?idproduct=<%=pIdProduct%>&?apparel=1"><img src="<%=RSlayout("AddToRegistry")%>" border="0" %></a>
6. Upload the new viewPrdCode.asp page.

This will essentially add the product to the cart and then re-direct to add it to a registry. You of course need to be logged in as a user to do this. You can see it in action here bbraithwaite.com. I hope this helps somebody. If somebody in return can help me with this same process except with the use of apparel sub products that would be awesome. Even if you have some hypotheticals please post your ideas.
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Direct Link To This Post Posted: 13-January-2009 at 6:30am
The same question has been posted here, so we will close this thread and leave the other one open. We will also log this as a feature request.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.