How to tell a friend without Sidebar?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

How to tell a friend without Sidebar?

Post by ZLA » Wed Jul 22, 2009 5:56 pm

Our site design doesn't have a right hand sidebar. Our old site had link next to the add to cart button that took you to a form that would send the email. That form just sent a email with a link to the item.

One thing I could do would be to have a link popup a web page with the ProductTellAFriend and pass the product id in the query string. Or I could link to a separate page and modify ProductTellAFriend to go back to the product after the email is sent.

Any other suggestions? Has anyone else done anything similar?

Thanks in advance.

meer2005
Captain (CAPT)
Captain (CAPT)
Posts: 245
Joined: Wed Feb 09, 2005 2:00 pm

Re: How to tell a friend without Sidebar?

Post by meer2005 » Thu Jul 23, 2009 1:19 am

You can just put [[ConLib:ProductTellAFriend]] on the product page and it will work, but then you'll have a small form on every product page. I wanted it to just be a link like you mentioned above, so attached are the files to make it happen....
SendFriendLink.zip
1) Upload SendProductPopup.ascx to the conlib folder.
2) Replace ProductTellAfriend (the only difference is I added a comment field. If you don't need a comment field, just leave your ProductTellAfriend as is and skip this step.)
3) Put this on the product page, like above your checkout button or where ever you want it on your product page: [[ConLib:SendProductPopup LinkCaption="E-mail this product to a friend"]] - Change the caption to whatever you want to be displayed on your page.

This will put a link on your product pages that will pull the ProductTellAFriend form and send that product to the email entered on the form upon clicking submit.

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: How to tell a friend without Sidebar?

Post by ZLA » Thu Jul 23, 2009 6:07 am

Thank you.

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: How to tell a friend without Sidebar?

Post by Mike718NY » Thu Nov 12, 2009 10:07 am

I can't get this to work. Only the "Close" button displays:
<asp:Button ID="CancelAddButton" runat="server" Text="Close" CausesValidation="false" />
I guess this is not showing:
<uc1:SubscribeToEmailList ID="SubscribeToEmailList1" runat="server" />

Do you mean [[ConLib:SendEmailPopup instead of : [[ConLib:SendProductPopup ?

SendEmailPopup is the file in the zip file. I'm using 7.0.3.

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: How to tell a friend without Sidebar?

Post by ZLA » Thu Nov 12, 2009 10:31 am

I can't recall definitively but I seem to remember I may have had to rename it as you suggested. As long as everything is named so the conlib matches the markup, it should work.

Post Reply