My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi! First of all, thanks for the great addon.
I'm trying to make a little customisation to my super_batch_orders.php - specifically the pdf packingslips masterlist function. I'm trying to make the list also display attribute titles for each particular item.
I've been having a bit of a poke around the code, and i assume i'm needing to modify the code within the while loop called at around line 409. What i want to know is what string or array should I be using to retrieve the attribute title?
Thanks - Hope you can help!
[edit]
i'd also love to be able to display the type of postage selected and total weight if this is possible!
Sorry I can't help you with this.. As I've posted here previously, the PDF packinglist code was generously donated to the Super Order module by a community member.. It is AS IS code, and I'm afraid I don't know enough about it to make more than a few cursory modifications (formatting changes mostly).
That said when my time permits I do have a new version of SO3 which includes some changes to the appearance of attributes on the PDF packinglist (also generously donated by the same member). Dunno if it will serve your needs..
I've been a tad busy lately, and haven't had time to work on volunteer projects.. However, I am hoping to have some time Friday or Saturday to finish up and submit SO3. (Have Edit Orders mods that need to go up together..)
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
ok, after a deeper dig it appears to be a little more complicated than i first anticipated.
i'm now on lcsd_merged_packing_slips.php - line 228. this appears to be where the magic happens. and it looks like i'm going to have to generate an array from the orders_product_attributes table each time the loop to display each product comes around.
If this is beyond the scope of the support here, it's all good - i understand it's not exactly superorders specific stuff that i'm trying to do now.
Thanks
[edit]
thanks - sorry, missed your reply. I think i've got it figured out now - or at least figured out how i'll do it. Thanks ayway!!
And now you see what I've said most everytime someone asks me about modifications to this packingslip.. It is not for the faint of heart.. (or at least it's beyond the scope of my abilities to mess with)
It is beyond the scope of the support I can offer.. It was donated code, and a tad more complicated for me to tackle.. This doesn't mean someone from the Zen Cart community won't chime in here..
Dunno what it is you are trying to accomplish.. It's possible that the updated packinglist might serve your needs.. That said I can make no promises on how soon I will finish and submit the new version.. (I'm working on it in my spare time..)
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
thanks - yeah, i think i've figured out how i'll do it. definitely not going to be simple. i understand what the code's doing, and how i'll pull the attribute array. Hopefully the shipping methods are done the same way, but i haven't had a look at that table structure yet.
just to fill you in, i'm selling a bunch of the "same" item, but slightly different specs. for example's sake, shirts. all the same size and style, but 15 different colours. I get a bunch of orders each day, and it's much more convenient to print a daily master packinglist - but i need the attribs/colour.
If anyone's interested and requires the same result, i'll post an update when i'm done. Hopefully it won't be too long.
Thanks for the help. I tried looking at the code to fix it myself but I'm not the best at programming and got lost.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Bookmarks