Jump to content
Dirty Butter

6.2.1 Print Order Design FOUND

Recommended Posts

Posted (edited)

I have "lost" the new page or file that provides a WYSIWYG Print order form. Was it removed from 6.2.1? If not, can someone tell me where to find it within Admin/file, files?

.HA! I should have asked sooner. It's a TAB on Documents in Admin.

Edited by Dirty Butter

Share this post


Link to post
Share on other sites

I never could figure out how to get my custom packing slip created with the WYSISYG form. So, at least for now, I copied the 6.1.15 orders.print.php over to 6.2.0 and commented out this section of orders.index.inc.php and changed the fetch part.

			// Parse
		/* 6.2.0 DOCUMENTS INVOICE TAB NOT NEEDED	$invoice_template = $GLOBALS['db']->select('CubeCart_invoice_template', array('hash', 'content'), false, 'id DESC', 1);
			if($invoice_template && !empty($invoice_template[0]['content'])) {
				$fetch_source = 'string:'.$invoice_template[0]['content'];
			} else {
				$fetch_source = 'templates/orders.print.php';
			}
			$template = $GLOBALS['smarty']->fetch($fetch_source);
		END DOCUMENT TAB	*/
		// 5.1.16 LINE INSTEAD OF $FETCH_SOURCE ABOVE
			$template = $GLOBALS['smarty']->fetch('templates/orders.print.php');

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×