I test your plugin. I have a blank page but i found how to do. There are a little typo error in your explanation on the french site. You have to delete the first "accolade" (sorry for the french name, i don't know it in english" just after the : <?php . Now it's work fine.
I also change the "getImageCustomData" to "getImageState" because on some picture i use the customdata fields to display more information about the pictures ... and i dont use the state fields.
Great Plugin, well done. Just one thing - I may have missed it but is there a way to have postage add just the once at all, rather than adding it on each time a new item is selected..?
Ah! I never noticed that myself as I always tested with multiples of the same item.
@hucste When ordering multiples of the same item the S&H is only calculated once, but when ordering multiples of different photos it charges once per "photo" but not the # of those photos, if that makes sense.
yep, thats what I've found. thing is if someone comes along to order picture A and then choose B, C and D they get charged postage 4 times... there might be a way around it in the paypal literature, I'll have a scan. There must be a way around it surely...
D'abord - merci bien Hucste, c'est fantastique! I have just loaded it up onto my DEV system and it just works, first time, no messing about, it just works. Thankyou very much for this. I do have two requests though to make it perfect for my purpose and that is the shipping charges. Request number one, is it possible to have a different shipping charge per item? Request number two, is it possible to be able to implement different shipping charges depending on where I am shipping to, specifically for my case I would like to offer different charges to Europe, USA and rest of the world.
Was there any work around found for the shipping charge being added again for each new image added to the cart? As pointed out above - would be more straight forward if only applied once to everything in cart.
Happy to contribute if there is a PayPal fund for this PayPal cart
hucste hasn't come forward with anything fixing this yet, and I'm sure he'd be happy to accept donations from the zenPayPal page donate button at the bottom. Might assist with a bit of assistance too in case he's been devoting his time elsewhere.
@all: yes, i've seen your requests, because i've received by rss. But, as said micheall, i developpe this plugin in my personal time and when i'm not tired. And you can support me by paypal - see my page http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN @ the chapiter "Donate" ;-) - thanks
not sure if it helps at all but have a look here: https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_html_buynow_buttons#id0948B0G0XHS and shows how to give discounts for subsequent additions to the shopping cart - perhaps its possible to modify the supplied code to remove the value of shipping from the second image? the problem comes when an order for lots of images comes through...but then I guess offering a suitable shipping rate for one (image/item) would make up for this
Still experimenting with this very interesting plugin
Quick question - any pointers to how I might go about applying the [nopaypal] function on an album level? That way placing [nopaypal] in custom field would switch off cart for all images in the album, which would be very useful.
Hi, the plugin used to work great, but now im having a problem. When i click on "buy now" button, it redirects me to paypal, but the item name (photo name) and price are empty, i mean, price is always $0 and paypal asks me to enter an amount, and the item name is not displayed.
The current format ("size:media=XX.YY") does not permit any spaces. But How can I include spaces if I desire? Such as in the 'size' or 'media' section? Perhaps a better format can be pure colon delimited, such as
size:some text here includes spaces:XX.YY size2:more text:ZZ:AA
And the normal <space>s between elements. One of my clients would like to have the following showing correctly:
5x7:Glossy and Matte=19.95
But the spaces break stuff (and hyphens look ugly).
Or, what about just regular strings, such as
"5x7 Glossy and Matte":19.95 "next time here":32.99
Is it possible to obfuscate the email address used with paypal? Email address shows up in source. <input type="hidden" name="business" value="xxxxxxxx@hotmail.com"/>
1/ the bug on pricelist with text containt spaces is marked! please, use the new archive - version 1.1.5.1 ;-) now, to separate price elements, use this symbole '|' (keys [Alt Gr]+[6] in egual time...).
2/ to obfuscate input business, i think that's not possible because it's a value necessary by paypal.
I love the plugin buy the way. One thing that I can't get to work though.
For example say a certain photo is only available in certain sizes. I only want those options displayed on the photo instead of all the different size options on the site.
The path to the CSS file in the function printZenPayPalToCSS is incorrect, due to missing slashes, and pointing to the Extensions folder when the plugin belongs in the Plugins folder. I believe line 251 should read:
HELP PLEASE: I have modified image.php on theme and I have uploaded to created directory /zp-core/plugins , also to /zp-core/zp-extensions and /plugins under ZenPhoto 1.2.9 and do not find it anywhere to turn on in the admin control panel ??
hello, all ... I prepare a new version that permit to setting : - different shipping by item. - differents sizes by item, and perhaps quantity by sizes.
this development use file's text. because i don't know how to do it, intregrate in administrative panel.
Comments
Now it's work fine.
I also change the "getImageCustomData" to "getImageState" because on some picture i use the customdata fields to display more information about the pictures ... and i dont use the state fields.
Again thanks a lot for the great job
Laurent
Just one thing - I may have missed it but is there a way to have postage add just the once at all, rather than adding it on each time a new item is selected..?
@hucste
When ordering multiples of the same item the S&H is only calculated once, but when ordering multiples of different photos it charges once per "photo" but not the # of those photos, if that makes sense.
Once again, many thanks for this.
Great plugin - working to install on my site.
Was there any work around found for the shipping charge being added again for each new image added to the cart?
As pointed out above - would be more straight forward if only applied once to everything in cart.
Happy to contribute if there is a PayPal fund for this PayPal cart
Thx,
Ewan
@all: yes, i've seen your requests, because i've received by rss. But, as said micheall, i developpe this plugin in my personal time and when i'm not tired.
And you can support me by paypal - see my page http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN @ the chapiter "Donate" ;-) - thanks
Is it possible to disable shipping in the plugin - in order PayPal global shipping settings would take effect?
I'm thinking to try commenting it out when get home..
Thx,
Ewan
https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_html_buynow_buttons#id0948B0G0XHS
and shows how to give discounts for subsequent additions to the shopping cart - perhaps its possible to modify the supplied code to remove the value of shipping from the second image?
the problem comes when an order for lots of images comes through...but then I guess offering a suitable shipping rate for one (image/item) would make up for this
Still experimenting with this very interesting plugin
Quick question - any pointers to how I might go about applying the [nopaypal] function on an album level?
That way placing [nopaypal] in custom field would switch off cart for all images in the album, which would be very useful.
Thx,
m
@mercury : on tips for your request :
Place 'nopaypal' in Custom Fields on the album, in the administration and place this code on your script image :
[code]
<?php
if(function_exists('zenPaypal')) {
if(getAlbumCustomData() != 'nopaypal') {
if(getImageCustomData() != 'nopaypal') zenPaypal();
}
}
?>
[/code]
When i click on "buy now" button, it redirects me to paypal, but the item name (photo name) and price are empty, i mean, price is always $0 and paypal asks me to enter an amount, and the item name is not displayed.
Here´s one of my photos for you to check it.
http://ricardolapiettra.com/gallery/index.php?album=gallery&image=img_1115.jpg
Please help, thanks in advance.
Ricardo.
i've seen that's use zenpaypal's 1.1.5, really ?
size:some text here includes spaces:XX.YY size2:more text:ZZ:AA
And the normal <space>s between elements. One of my clients would like to have the following showing correctly:
5x7:Glossy and Matte=19.95
But the spaces break stuff (and hyphens look ugly).
Or, what about just regular strings, such as
"5x7 Glossy and Matte":19.95 "next time here":32.99
thoughts?
<input type="hidden" name="business" value="xxxxxxxx@hotmail.com"/>
now, to separate price elements, use this symbole '|' (keys [Alt Gr]+[6] in egual time...).
2/ to obfuscate input business, i think that's not possible because it's a value necessary by paypal.
I have the same issue using 1.1.5.1.
thanks,
Mark
For example say a certain photo is only available in certain sizes. I only want those options displayed on the photo instead of all the different size options on the site.
`
$css = FULLWEBPATH.'/'.USER_PLUGIN_FOLDER.'/zenPaypal/zenPaypal.css';
`
http://zenphoto.dev.stephane-huc.net/uploaded/zenPayPal-1.1.5.2.zip
(thanks Blue DragonFly)
@xberseker: for the moment, not possible.
Or worse case scenario can I just use a raw PayPal shopping cart in the image description?
I have modified image.php on theme and I have uploaded to created directory /zp-core/plugins , also to /zp-core/zp-extensions and /plugins under ZenPhoto 1.2.9 and do not find it anywhere to turn on in the admin control panel ??
I prepare a new version that permit to setting :
- different shipping by item.
- differents sizes by item, and perhaps quantity by sizes.
this development use file's text. because i don't know how to do it, intregrate in administrative panel.
In few hours ...
Laurent