Add item hyperlink
calchin
Joined: 2006-02-19
Posts: 5 |
![]() |
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? |
|
calchin
Joined: 2006-02-19
Posts: 5 |
![]() |
if it's any help im using the checkout script with the paypal script... |
|
ckdake
![]()
Joined: 2004-02-18
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? |
|
calchin
Joined: 2006-02-19
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..! |
|
ckdake
![]()
Joined: 2004-02-18
Posts: 2258 |
![]() |
Glad you figured it out! If you found my help useful, please consider donating to Gallery. |
|