Hi, I see how to add note categories but not how to remove them.
Is there no function for it? Thanks
Hi, I see how to add note categories but not how to remove them.
Is there no function for it? Thanks
How can there be nothing? Nothing is something!
I looked into the files and saw no reference to delete note categories. This would be nice to have. My knowledge of PHP and MYSQL are limited but I might be able to add this functionality myself by cloning the delete note function in the note.php file.
If someone else wants to tackle this before me then please by all means go for it. I really think it would be helpful.
If I successfully do it I'll post back here.
How can there be nothing? Nothing is something!
In my quest to dissect the notes.php file and add a category delete function I noticed a bug that needed to be addressed.
Scenario: You go into note categories section to insert a new category. Once you get there fore some reason you change your mind and click the cancel button just to discover that it was created anyway.
Around line 447 you will see...
Change this line to...Code://echo zen_draw_hidden_field('notes_id', $note->fields['notes_id']) . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_NOTES, 'page=' . $_GET['page'] . '&nID=' . $_GET['nID']) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
This should cancel the action and return you to the categories menu.Code://echo zen_draw_hidden_field('notes_id', $note->fields['notes_id']) . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_NOTES, 'action=categories') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
How can there be nothing? Nothing is something!
Only just installed this mod (including the recent update)
I have one question: If I wish to add a note to say catagories (or anything) it opens a new page instance where I would prefer a redraw in the same window.
Is this the norm? Olease see attached screen shot:
![]()
Sorry.... see here
Nobody? Bump!
Great mod! Has really helped us out a lot.
Could we get admin notes to appear on invoices?
Does this have to be coded from the invoice side though? Basically call for the note category, then if a note is active for that customer_id = display on invoice.
Possible?
Great mod, is there a way to make the notes appear as macro's and when you put status shipped it automatically prints message "your order has been shipped, Thank you for shopping with us" ?
To make this super_invoice.php appearance a bit refined I see where the note itself would be better to keep visible in admin only, but the title could appear on the invoice.
I need to draw the info from the notes table and link to the customer ID to show on that customer's invoice though.PHP Code:<td class="dataTableContent"><?php echo $notes->fields['notes_title']; ?></td>
Is this close as it does not currently work? Also, how do I specify the Order Notes category only (notes_categories_id)?
PHP Code:<?php
$table_notes = $db->Execute("select notes_title
from " . TABLE_NOTES . "
where customers_id = '" . $order->customer['id'] . "'");
?>