Im not great at php or any other languages other than English, but im sure this one is just laugjing in my face
I wish to add a link to the photo page, saying "order a print".
So i've somehow got to this stage:
Quote:
<a href="{g->url arg1="controller=cart.AddToCart" arg2="itemId=`$theme.item.id`"}">Order a print</a>
Well, doesnt seem to work; anyone got a solution?
Posts: 5
if it's any help im using the checkout script with the paypal script...
Posts: 2258
FAQ: What information is required when I ask for help in the forums?
Also, what are the "paypal script" and "checkout script" that you are refering to and what versions of them are you using?
Posts: 5
Thank you for your reply, after hours of going round the same php code over and over, i found out that it should be "checkout.AddToCart" and with permissions given on each picture... silly me..! I appreciate the help tho thanks
Posts: 2258
Glad you figured it out!
--
http://ckdake.com/
If you found my help useful, please consider donating to Gallery.