Perfect!! Thank you very much!!
Philip
Printable View
Is there any way to automatically send the customer an email that contains the new invoice (and not just a link) after the invoice has been edited? So far the only way I have found to accomplish this is manually.
lurkerfilms did an excellent job laying out the changes necessary. He even has a download with the necessary files. If you go through all that and are still not sure what to do, it's probably a little above your level...which of course makes it the perfect opportunity to get in there and try it yourself anyway. :D
Make a copy of your store, either elsewhere on server or offline (I suggest WAMP if you would like to code locally on a windows box), grab his files and instructions, and start poking around. In-file searches for variables, CSS definitions, etc. will help you track down what goes where. For that I recommend Notepad++.
Like my mom always said: "This is a self-cleaning bath...clean up after yourself!"
It's not a feature I have built into SO anywhere, but a good idea to be sure. Unless theres another contrib out there that does it, I think manual is currently your only answer.
and your right i read this post http://www.zen-cart.com/forum/showpo...&postcount=814
and did not understand a thing it might be a little over my head.
Again, don't let that stop you. The only way you learn is to try. The internet is big, but Google is bigger. Pick a starting point and look around for advice.
I'll let you in on a little secret: when I started coding Super Orders, I was about 3 months into Zen Cart and maybe 6 months into PHP in general. It just takes some time and effort. :bigups:
I'm having some trouble installing. I've uploaded all the files, but am having issues with the SQL file. I tried uploading hte file through ZC's "install SQL Patches", but got an error. When I tried uploading the file again, this is what I got:
"1062 Duplicate entry 'CA' for key 2
in:
[INSERT INTO zen_so_payment_types VALUES (NULL, 1, 'CA', 'Cash');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields."
How do I fix this? I'm not all that familiar with SQL, I could really use some help!
Your right, the instructions was a bit hard to get, but the idea is sound. I changed the require to require_once in the three files. With super_batch_forms.php look to the bottom around line 339 for
function batch_forms($target_file, $selected_oids, $num_copies = 1)
replace from the 'function' to the bottom closing php tag with his code. making sure not to delete the closing php tag.
I didn't use this part.. <?php if ($_GET['pagebreaks'] != 1) { ?>
Now in the super_stylesheet.css add a pagebreak to a class name. like
Then just before the closing body tag of packing slip and invoice pages, add something like thisCode:.endline {
page-break-after: always;
}
What you get when you do this is a full html page of all the invoices or packing slip. You will see the -----pagebreak------ but when you print, each will print on there own page and the -----pagebreak------ wont. If you do this with the shipping label, you'll get one label per page. But play with the styles and you can get it to print on a label sticker page.Code:<div class="endline">------------ pagebreak --------------</div>
As always, back up before you edit and best to use a testing server to make sure everything works before uploading to a live site.
Does anyone know how to do this?
What I am looking for is to put a button onto Super Orders
that would take me to the TY Package Tracker (With its respected order)
Then, what would be nice is to have the same thing back in reverse.
milobloom,
I haven't tried to go from SO to TYTracker except via the menu but if you want to go from Ty to SO look at
http://www.zen-cart.com/forum/showpo...&postcount=210
I used plan B and it worked fine.