Hi Guys,
I was wondering if anyone will be able to help me with a simple solution to my problem.
What I want to do is, as soon as a items sells and the customer has paid, there should be an automated email sent to the supplier with the customers delivery details, items purchased and the quantity. What makes it a little easier, is that I'm only dealing with one supplier and not multiple ones.
I'm not sure if it makes a difference, but the only payment option will be PayPal.
Any help would be greatly appreciated.
Thanks.
I was wondering if anyone will be able to help me with a simple solution to my problem.
What I want to do is, as soon as a items sells and the customer has paid, there should be an automated email sent to the supplier with the customers delivery details, items purchased and the quantity. What makes it a little easier, is that I'm only dealing with one supplier and not multiple ones.
I'm not sure if it makes a difference, but the only payment option will be PayPal.
Any help would be greatly appreciated.
Thanks.
Wouldn't that send the dropshipper all orders though? Even ones that are not paid, didn't complete, bogus ones, etc????
What I did, though it isn't automatic was edit admin/view/template/sale/order_info.tpl
Under
added
What it does is gives me a "Vendor Dropship Email" link at the bottom of the order info form that when I click on it, opens an email in my default email program with the order and product details filled in. I just edit anything I need to for that particular order (like express shipping or remove products if not for that vendor), fill in the email address for my vendor and send. It also gives me a record of having sent that order to my vendor in my email programs sent folder which I find very convenient.
You might need to tweak the code as this is a portion of mine. I have standard emails I send to customers encoded in similar links so just pulled this part out for you. I removed my signature from the bottom as well - I have my name, company name etc after the "Thanks again!" part
What I did, though it isn't automatic was edit admin/view/template/sale/order_info.tpl
Under
Code: Select all
<div style="margin-top: 10px; text-align: right;"><a id="button-history" class="button"><?php echo $button_add_history; ?></a></div></td>
Code: Select all
<tr><td><a href="mailto: ?subject=New drop ship order to <?php echo $shipping_lastname; ?> &Body=Hi:%0d%0a%0d%0aPlease ship:%0d%0a%0d%0a
<?php foreach ($products as $product) { ?>
<?php echo $product['quantity']; ?> of <?php echo $product['model']; ?> <?php echo $option['value']; ?>, <?php echo $product['name']; ?> %0d%0a%0d%0a
<?php } ?>
%0d%0a%0d%0aTo:%0d%0a%0d%0a
<?php echo $shipping_firstname; ?> <?php echo $shipping_lastname; ?>%0d%0a
<?php if ($shipping_company) { ?>
<?php echo $shipping_company; ?>%0d%0a
<?php } ?>
<?php echo $shipping_address_1; ?>%0d%0a
<?php echo $shipping_address_2; ?>%0d%0a
<?php echo $shipping_city; ?>, <?php echo $shipping_zone; ?> <?php echo $shipping_postcode; ?>%0d%0a
<?php echo $shipping_country; ?>%0d%0a%0d%0a
%0d%0a%0d%0aOur PO for this order is <?php echo $order_id; ?> . Please reference it when contacting us.
%0d%0a%0d%0aPlease acknowledge this order and let us know if anything is backordered/discontinued as soon as possible. Please send me the tracking number once it has shipped.%0d%0a%0d%0a
Thanks again!">Vendor Dropship Email</a></td>
You might need to tweak the code as this is a portion of mine. I have standard emails I send to customers encoded in similar links so just pulled this part out for you. I removed my signature from the bottom as well - I have my name, company name etc after the "Thanks again!" part

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Thanks for the suggestion and think I might have to use it as a last resort. But could really use a automated one, since I'm at work during the day and don't always have time to check my emails. So I want to make sure the supplier gets the email as soon as possible, to reduce the delay in getting things out to the client.
Ah okay. Cannot help you there. I work 100% for myself so am always in front of my computer working. lol
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
What format do you use to purchase items from your drop shipper? Will sending them an email be fine?
Sending an email will be perfect.markisonfire wrote:What format do you use to purchase items from your drop shipper? Will sending them an email be fine?
This is what's making it so frustrating, all I want I just a plain email sent once the payment is received.
Wound this send every order to the supplier, even if they haven't paid?OpenCart Addons wrote:Hey John,
You could always add the supplier to the email notifications.
Add your supplier email in:
Admin CP > System > Settings > Edit > Mail > Additional Alert Emails
Regards,
Joel.
Who is online
Users browsing this forum: No registered users and 71 guests