You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I'm trying to insert an image into the page that displays when an order has been successfully processed by our credit card processor. I need to do this for an affiliate program that the site owner wants to use.
My understanding is that I can do that via the cp/cgi-bin/library/custom/site_custom.pl script. So I tried inserting the following code in that script:
if (($fd_pg eq "store") && ($fd_sub_pg eq "order_final")) {
print "<b>Lloyd is testing this, ignore it</b>nn";
}
but it doesn't print on the "receipt page" as I sort of thought it might. Where did I go wrong?
Lloyd Sommerer
You actually need to edit the last routine in the script:
./cgi-bin/library/modules/site_store_order_confirm.pl
Just look for the printing of the order information in the confirm to the user and put the image tag in below (or above) the HTML table with the order info in it.
Offline
Thanks, that worked fine. Just out of curiosity, was I doing something wrong the other way, or is that script not yet functional? I didn't see it documented anywhere, so it's not like I'm missing anything. I was just wondering.
Lloyd