I need to send an email per product/category on my site so people without admin access I can send an email for product sales too.
As well as that I need to send print receipts to a printer when ordered is there any way I can do this in zen cart?
I need to send an email per product/category on my site so people without admin access I can send an email for product sales too.
As well as that I need to send print receipts to a printer when ordered is there any way I can do this in zen cart?
I need to send emails to my clients when their product is sold but I do not want to give them access to the admin, so how can I change the code to send to multiple people emails when products are sold, and I only want emails sent when their product is sold and not someone else's.
This is a large project - it's not a small tweak someone can show you how to do on the forum.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Is it **that** hard to send an email? No. But that's not all you need.
You need to build the emails in text and HTML format.
You need a management layer to control the product to email mapping.
You need an interface so that when the people who own products log in they can see information about orders that pertain to them.
etc. etc. etc.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
For the actual email sending, you could write an observer class to listen for the NOTIFY_CHECKOUT_PROCESS_BEFORE_CART_RESET or maybe the NOTIFY_CHECKOUT_PROCESS_AFTER_SEND_ORDER_EMAIL events and send your additional emails there.
You might even trigger the printing then, especially if the printing is done via an email or via an API call to another web-based service.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks