Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: paypal mod  (Read 3659 times)

0 Members and 1 Guest are viewing this topic.

eyeliner

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
paypal mod
« on: May 10, 2006, 03:19:05 pm »

Hello, i've installed succesfully coppermine 1.3 with the paypal mod.
Now i have several albums with several pics and every pic can be bought in three different resolution formats.
So i have the three options in the combobox under the pic (in the preview window) with the paypal button "add to basket".
All right.

here comes the problem:
I need to send to paypal also a variable that contains the picture id (the one called pid in the database) concatenated with the choosen resolution.
How can i do that?

for example:
the pic cat.jpg has pid=100 in the db and the user wants to buy the resolution number 2.
so i must send to paypal something like code=100_2; or code=100-2; or code=100b; it is the same in fact :)


i suppose i should add some code in theme.php in the block of code tagged <!--  view basket button  --> but i don't know php so much... :(
Nobody can please light me??

Many thanks and regards


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: paypal mod
« Reply #1 on: May 10, 2006, 07:00:17 pm »

all mods only go supported on the thread that introduces them. Reply to the proper thread on the mods board. Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.