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.
Is it possible to modify the printable invoice to show payment method like it shows on the screen version, it only has to say what method was used, this will help speed up our order entrysoftware
Offline
In the "Order Summary (Printable XHTML Invoice)" XHTML include in admin under Home > ClickCartPro (GBU) > Displays: Skins, Menus, XHTML Includes and Messages > Manage XHTML Includes the variable $order['order']['paymethod'] should be available for you to add/print where desired. It's only going to be the identifier of the payment method not the full name of the method (which can be quite long).
Offline
Hi Dave,
cant see any mention of the above variable in that file (uk version) tried adding it it just did not show but as i have no idea with php any chance of a little more help
Regards Picstart
Offline
You wouldn't see it in there since it isn't used/printed. You'd have to add it where ever you wanted it to be printed. For example:
print $order['order']['paymethod'];
Offline
Hi Dave,
tried putting print $order['order']['paymethod'] ' in and get this error
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/sites/***********.co.uk/public_html/khxc-private/apps/gbu0/GBU/includes/ordersummaryprint.php on line 484
Last edited by picstart (04-17-2009 07:26:15)
Offline
all because of a ; who would have thought it
thanks john
Offline
Sorry, my fault, I made a typo in my example which I've corrected.
Offline
Dave, is it possible to use the 'printable invoice' script or code to make ANY page of ccp a printable page? I'd like my customers to have the option of printing a product detail page, or category page for example.
James...
Offline
Define "printable page". There's really no reason someone couldn't print the page they are viewing. Other than that it would take a namespace and modification to the product and category displays to hook into the new namespace.
Offline
well, a printable page is a printable page, NOT just click on file/print through the browser. What's the point of a printable invoice feature that already exists, since the user can just file/print the screen when they have their invoice onscreen. Same thing.
Offline