I would also like to set individual pricing for images in albums. But I am having trouble implimenting it.
Paypal plugin installed fine. Super in fact. I also got the Nopaypal option working no problem. Insrtructions were very clear.
However when i try the last two blocks of code above in image.php. It doesn't work.
Can someone help confirm I have the following correct.
1.Add to image.php
<?php $prices = getImageCustomData();
if (!empty($prices))
{
$pricelist = zenPaypalPricelistFromString($prices);
zenPaypal($pricelist);
}else {$prices = getAlbumCustomData();
$pricelist = zenPaypalPricelistFromString($prices);
zenPaypal($pricelist);
}
?>
or add
<?php
$prices = getImageCustomData();
if (!empty($prices)) {
$pricelist = zenPaypalPricelistFromString($prices);
zenPaypal($pricelist);
}
?>
2. Add to options>plugins> zenpaypal > the pricelist field eg
4x6

aper Matte Thin=5.75|8x10:Xtrem Glossy=20.00|11x14

aper=15.35
3.Add to album> choose gallery > choose images tab > paste in Special data field - the different pricelist eg
20x30

aper Matte Thin=5.75|8x10:Xtrem Glossy=50.00
is that correct formatting for the Special data field??
Fatal error: Call to undefined function zenpaypalpricelistfromstring() in /home/public_html/gal2/themes/mytheme/image.php on line 77
Can anyone see what i missed or i am doing wrong.
Many thanks for any guidance.