|
|
Thread Tools | Display Modes |
|
#41
|
||
|
Big grins
|
I need help with Paypal buttons
Quote:
Hi, I didn't know where else to add this reply so I tried to find someone who is new like me and stumped. I put the code into my header, and 2 javascript areas, but I don't know what I'm supposed to put into those [] areas. other than the code I got from paypal for my add to cart button. I'm just barely beginning with all this and its quite confusing to me. At the present time, I have nothing showing up on my site in regards to paypal. And I know thats because I don't have those things listed correctly. Could you please take a look and help me get this working? I have a total of 8 separate areas I want to have listed for pricing, ie; Individual prices, custom collages, canvas gallery wraps, standouts, and lots more. I want to list all these but don't know how or where, or if I even can list all of them. Thank you in advance, Judy
__________________
http://www.Kasparphotos.com |
|
|
|
||
|
#42
|
||
|
Major grins
|
Quote:
There are a couple of places you need to fill in the blanks using the code I posted: [PayPal Account ID] = this should be replaced with your account id from paypal. I use the email address that I sign into my paypal account with [URL to Buy Button] = You need to create you own buy button and store on your website in a hidden gallery (or use the default paypal button). This should be replaced with the URL to the image you want to display as your "buy now" button [URL to View Cart Button] = As per the above comment If you have all the code in your gallery, please provide a link and I will have a look and try guide you through. My knowledge is limited to what I have working on my own site so I will help you where I can. Craig.
__________________
My Site: http://www.craigridley.com Facebook: http://www.facebook.com/craigridleyoutdoorphotography Want to save $5 on a smugmug account? Use this coupon code: WzG2eZLQPGrqI |
|
|
|
||
|
#43
|
||
|
Big grins
|
Still confused
Quote:
I tried to figure this out, but I can't find any place to put the Buy button. I think I got the view cart button in the right place but I'm not real sure about that either. (I feel so dumb about all this) I also think I made my buttons way to big. I don't know because of course they aren't working yet. What size should I have made them in photoshop? Also, I don't know what link you need me to send you so you can take a look. Where can I find the link? I have seen a discussion on previous pages about being able to tell which image someone purchases. Does Paypal let me know the image number in its entirety and the size and quantity ordered for that image? I'm sorry to bombard you with all these questions. I'm just wondering if Paypal is the way for me to go, since I know so little about doing all this stuff. Thank you for any help you can give me. I sincerely appreciate it. Judy Added: I got the buy button line in place in my code. (it was missing somehow) But nothing is showing up as of yet.
__________________
http://www.Kasparphotos.com Last edited by Kaspar; Feb-18-2009 at 09:22 AM. |
|
|
|
||
|
#44
|
|
|
New and Slightly Confused
|
Right, I think I can get a checkout on SM now but...
Primarily I deal with digital downloads only. If adding a third party checkout to SM how do I get the digital downloads to work?
I can't seem to win! One of the appeals of SM was the customer download image size functions. But I can't use it because of the lack of currency support. So if I use google or paypal I just can't work out how to link it to a download option and how the customer receives the goods. regards kipper |
|
|
|
|
#45
|
||
|
Major grins
|
Quote:
Chris |
|
|
|
||
|
#46
|
|
|
Major grins
|
Having trouble with a couple of things
I have successfully implemented the code shown at the beginning of this thread, and now I need some additional help.
1. I would like "Buy" and "View Cart" buttons that match the nav bar buttons which smugmug uses. Where can I find something close??? 2. The (current crappy looking) buttons I created always show up to the left of the existing smugmug buttons. How do I position my buy/view cart buttons farthest to the right, and inline with the smugmug buttons? 3. Ideally, I do not want options to buy on all galleries. How do I only apply these buttons to specific galleries? Please keep in mind that I am a complete idiot when it comes to CSS and Javascript. Thanks in advance for any help you can provide. My site is at: http://mdmphoto.smugmug.com/ Mike |
|
|
|
|
#47
|
||
|
Major grins
|
Quote:
#payPalButton {margin-top: 25px;} insert whatever you are actually calling your buttons. To display in certain galleries, add to CSS: #payPalButtonSet {display: none;} then for the galleries you want it, .gallery_XXXXXX #payPalButtonSet {display: block;} Again, the div that you wrap the set in may be named different than mine so adjust accordingly. You can download my Buy and Add to Cart buttons which are more confluent with SmugMug. Add to Cart Buy Button |
|
|
|
||
|
#48
|
|
|
Major grins
|
Chris, thanks, but I am a bit confused.
#payPalButton {margin-top: 25px;} insert whatever you are actually calling your buttons. >>>>> Ok, I think this is the name of my "buy" button, it was in the custom header code as <input ID="paypalBuy" type="image" ....so I assume the name is paypalBuy, is this correct? then for the galleries you want it, .gallery_7238609 #payPalButtonSet {display: block;} Again, the div that you wrap the set in may be named different than mine so adjust accordingly>>>>>> In my custom header code, I have the code: <div id="paypalButtonSet" style="display:none;" class="paypalButton">.....so I assume the name is paypalButtonSet, is this correct? I made these changes and put the code in CSS as follows, but the buttons still show up in all Galleries: #paypalBuy {margin-top: 25px;} #paypalButtonSet {display: none;} .gallery_7238609 #paypalButtonSet {display: block;} Also, the buttons move vertically in position, but so do the smugmug buttons, so they never align together and my buttons are still to the left of the smugmug buttons. The first line of code seems to make the gap to the header bigger or smaller. Any idea what I am doing wrong? Last edited by Brewmaster; Feb-21-2009 at 12:31 PM. |
|
|
|
|
#49
|
||
|
Major grins
|
Quote:
Here is paypal code wrapped in div: Code:
<div id="paypalButtonSet" class="paypalButton" align="right"> <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onSubmit="setPaypalForm(this)" > <input type="hidden" name="add" value="1"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="cdmgalleries@gmail.com"> <input type="hidden" name="item_name" value=""> <input type="hidden" name="amount" value=""> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="lc" value="US"> <input type="hidden" name="bn" value="PP-ShopCartBF"> <select ID="paypalSelect" name="photoselection"> <option value="9.00">4" x 6" Print Glossy ($9.00)</option> ... </select> <input ID="paypalBuy" type="image" src="/photos/460399872_3VmHU-O.jpg" border="0" name="submit" alt="Buy"> <img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1"> </form> <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input ID="paypalView" type="image" src="/photos/460399853_ZiHkK-O.jpg" border="0" name="submit" alt="View Cart"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="cdmgalleries@gmail.com"> <input type="hidden" name="display" value="1"> </div> </form> Code:
/* Slight position adjustments for paypal buttons */
#paypalBuy {position: relative; top: 4px;}
#paypalView {position: relative; top: 4px; right: 15px;}
Chris |
|
|
|
||
|
#50
|
|
|
Major grins
|
Sorry Chris, I'm just not getting it. I deleted all the code I put in (from page 1 of this thread), and put in the code you suggested above in one gallery. I made sure to put the correct URL in for the buttons as well. All it did was open a giant gap in that gallery with nothing displayed in the gap.
So, I put all the original code (from page 1 of this thread) back in with the new buttons that you provided me. If you go to my site http://mdmphoto.smugmug.com/ into one of the galleries, you will see that the "buy" and "view cart" buttons sit just a bit high next to the "share" and "slideshow" button. I would like to make my buttons line up with the "share" and "slideshow" buttons. Alternatively, if I can't make that happen, I would like the "buy" and "view cart" buttons below the photo. Last edited by Brewmaster; Feb-21-2009 at 01:59 PM. |
|
|
|
|
#51
|
||
|
Major grins
|
Quote:
|
|
|
|
||
|
#52
|
|
|
Major grins
|
Here is one:
http://mdmphoto.smugmug.com/gallery/...69197287_h3FpZ I re-edited my last post as well with more information....you may not have seen that. |
|
|
|
|
#53
|
||
|
Major grins
|
Quote:
#paypalBuy {position: relative; top: 3px;} #paypalView {position: relative; top: 3px;} |
|
|
|
||
|
#54
|
|
|
Major grins
|
Worked like a charm! Thank you!
|
|
|
|
|
#55
|
|
|
Beginner grinner
|
Thanks for all the info, Craig (as well as other Smuggers!).
The directions on implementing a PayPal shopping cart are excellent. However, I'd like to make a small modification to the code, but I'm at a loss of where to find the appropriate variables SmugMug uses. What is the variable for a more verbose Album ID? Instead of a cryptic and lengthy number that is passed on to PayPal, I'd prefer the actual title (ie 'Event Photos/Hockey Tournament') of the gallery. I'm using a variation of the following code: Code:
urlToImage = webServer + "/gallery/" + AlbumID + "_" + AlbumKey + "/1/" + ImageID + "_" + ImageKey + "/Large" + " " + photoInfo[ImageID]['fileName']; I understand that Google Checkout has coupons, but it is not currently available in Canada. So no help there (yet). |
|
|
|
|
#56
|
||
|
Major grins
|
Quote:
|
|
|
|
||
|
#57
|
||
|
Major grins
|
Quote:
I have just come across this thread, and have tried to implement this into my gallery, but do not get anything displayed. For example... http://www.photographywithpassion.co...40418270_swpLy PLEASE HELP. Thanks, Michael ***FIXED*** SEEMS THIS DOES NOT WORK WITH SMUGMUG SMALL GALLERY STYLE!!
__________________
Michael Banks www.banksy.me.uk - main website http://galleries.banksy.me.uk - smugmug site Last edited by photobanks; Mar-04-2009 at 12:12 PM. |
|
|
|
||
|
#58
|
||
|
Big grins
|
Quote:
Can someone help? Thanks! |
|
|
|
||
|
#59
|
|
|
Big grins
|
Quick question. If I use the PayPal option, am I now responsible for filling the print order too or does it still go through smugmug's print services?
Thanks!
__________________
chadjockphotography.com |
|
|
|
|
#60
|
||
|
Major grins
|
Quote:
|
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|