Shipping Labels
-
AsTecModels
- Member
- Posts: 99
- Joined: Wed Mar 18, 2026 6:20 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 6 times
- Been thanked: 3 times
Shipping Labels
Hi All,
After all the help you have all give I am about ready to go live. The only thing I can not see how to do is to print shipping labels or envelopes.
Any help would be appreciated with this, either how to do it or an add on that will do it.
After all the help you have all give I am about ready to go live. The only thing I can not see how to do is to print shipping labels or envelopes.
Any help would be appreciated with this, either how to do it or an add on that will do it.
-
AsTecModels
- Member
- Posts: 99
- Joined: Wed Mar 18, 2026 6:20 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 6 times
- Been thanked: 3 times
Re: Shipping Labels
Currently use OsComm which I have a button to do the labels automatically.
I see the packing slips fairly ok but nothing for the label which means cutting and pasting each order.
I see the packing slips fairly ok but nothing for the label which means cutting and pasting each order.
-
BrockleyJohn
- Certified Developer
- Posts: 173
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version:
- : Buy Me A Beverage
- Has thanked: 2 times
- Been thanked: 30 times
-
AsTecModels
- Member
- Posts: 99
- Joined: Wed Mar 18, 2026 6:20 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 6 times
- Been thanked: 3 times
Re: Shipping Labels
Address labels so I can take to the post office.
I can already do the courier ones, but postal ones I just need the address on.
I can already do the courier ones, but postal ones I just need the address on.
-
AsTecModels
- Member
- Posts: 99
- Joined: Wed Mar 18, 2026 6:20 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 6 times
- Been thanked: 3 times
Re: Shipping Labels
I have started to write a mod to do the labels as I want them but can not work how to put a button next to the "Invoice" and "packing slip" buttons. Can anyone help?
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Shipping Labels
Hook your Button, eg a file called /includes/hooks/admin/orders/labelMod.php
Note I have not tested this, but it looks like it should work.
This will link to orders.php?action=labels so you are hopefully making this mod using a view called labels, see /admin/includes/actions/orders/views/
If not, just amend the link appropriately.
Code: Select all
class hook_admin_orders_labelMod {
public function listen_extraButtons() {
if (empty($_GET['action'])) {
return $GLOBALS['Admin']->button('', 'fas fa-note-sticky', 'btn-warning me-2', $GLOBALS['Admin']->link('orders.php', ['action' => 'labels']));
}
}
}
This will link to orders.php?action=labels so you are hopefully making this mod using a view called labels, see /admin/includes/actions/orders/views/
If not, just amend the link appropriately.
-
AsTecModels
- Member
- Posts: 99
- Joined: Wed Mar 18, 2026 6:20 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 6 times
- Been thanked: 3 times
Re: Shipping Labels
That did not work, all I get is the text appear on the screen when I click orders.
-
AsTecModels
- Member
- Posts: 99
- Joined: Wed Mar 18, 2026 6:20 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 6 times
- Been thanked: 3 times
Re: Shipping Labels
Put "<?php" at the front and button appears, wrong place but appears. I want it to appear next to packing slip (see attachment)
Also need it to link to envelope.php which is in the same folder as packingslip.php
Also need it to link to envelope.php which is in the same folder as packingslip.php
You do not have the required permissions to view the files attached to this post.
Last edited by AsTecModels on Thu Mar 26, 2026 10:14 pm, edited 1 time in total.