AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: netgroup on January 22, 2017, 04:41:31 AM

Title: Files uploaded in order information not receiving in Email Alerts
Post by: netgroup on January 22, 2017, 04:41:31 AM
Dear Team,

Great application and the option to build free e-commerce website. Thanks for taking such joint efforts.

We are receiving email alerts with for the order confirmation. Few product we have which requires uploaded files to confirm the order. These uploaded files are visible in order panel.

Is there any way to get these files as an attachment with order alert email.

Kindly guide the configuration steps.
Regards
Title: Re: Files uploaded in order information not receiving in Email Alerts
Post by: netgroup on January 23, 2017, 05:32:13 AM
Hi

Dose any extension available for this ? please guide.
Title: Re: Files uploaded in order information not receiving in Email Alerts
Post by: abolabo on January 24, 2017, 04:49:05 AM
i think you should to make custom modification of file https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/model/checkout/order.php

There two mail-sendings. First for customer, second for merchant. You should to add call of AMail class (core/lib/mail.php)
Code: [Select]
$mail->addAttachment($path, $filename);into line #641

Title: Re: Files uploaded in order information not receiving in Email Alerts
Post by: netgroup on January 24, 2017, 06:43:24 AM
Dear Friend,

We tried suggested code, but not working.
Title: Re: Files uploaded in order information not receiving in Email Alerts
Post by: llegrand on January 24, 2017, 09:50:30 AM
We have added one of our client extensions to the MarketPlace recently -  Option Price Link Pro

https://marketplace.abantecart.com/option_price_link_pro (https://marketplace.abantecart.com/option_price_link_pro)

It allows links to be added within the options and the links flow through to all order processes including confimation email.

Take a look, perhaps that will be a good solution for you.

Title: Re: Files uploaded in order information not receiving in Email Alerts
Post by: netgroup on February 01, 2017, 10:35:56 AM
Sorry,

This is not showing the upload done by customer, It shows the link we assign with the product that customer select in option.

We are looking for the files as attachment or link in order form that customer uploads in option.

For example - Customer is ordering for ID card and in option he is uploading his photo. This should reflect in order form in email alerts as well. Currently we have to open the order form to extract the files/information.