Jump to content

6.2.1 Print Order Design FOUND


Recommended Posts

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
Link to comment
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');

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...