View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004032 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2012-05-11 11:36 | 2012-12-21 11:16 |
Reporter | albert0346 | Assigned To | |||
Priority | high | Severity | text | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.6.0 revision 44406 | ||||
Fixed in Version | 4.8.0_5.1.0_beta1 | ||||
Summary | 0004032: In customer email is download message even when NO downloads are available | ||||
Description | This belongs to the file order_cust.tpl. I translate the message from German to English: "Download your ordered files here." | ||||
Steps To Reproduce | Don't activate downloads in Admin. Then make a test order. Look at the customer email. | ||||
Additional Information | I have not tested theme Basic. | ||||
Tags | No tags attached. | ||||
Theme | Azure | ||||
Browser | FireFox 6.x | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Change the code for the download-article in the order.cust.tpl (Azure, Basic Analog): [{block name = "email_html_order_cust_download_link"}] [{If $ oOrderFileList}] [{foreach from = $ item = oOrderFileList "oOrderFile"}] <h3 style = "font-weight: bold; margin: 20px 0 7px; padding: 0; line-height: 35px; font-size: 12px; font-family: Arial, Helvetica, sans-serif; text-transform: uppercase ; border-bottom: 4px solid # ddd "> [{Ident = oxmultilang "MY_DOWNLOADS_DESC"}] </ h3> <p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"> [{if $ order-> oxorder__oxpaid-> value | |! $ oOrderFile-> oxorderfiles__oxpurchasedonly-> value}] <a href="[{ oxgetseourl ident=$oViewConf-> getSelfLink () | cat: "cl = download" params = "sorderfileid =" | cat: $ oOrderFile-> getId ()}] "rel =" nofollow "> [{$ oOrderFile-> oxorderfiles__oxfilename-> value}] </ a> [{$ oOrderFile-> getFileSize () | oxfilesize}] [{else}] <span> [{$ oOrderFile-> oxorderfiles__oxfilename-> value}] </ span> [oxmultilang {ident = "DOWNLOADS_PAYMENT_PENDING"}] </ p> [{/ if}] </ p> [{/ foreach}] [{/ if}] [{/ block}] Thus, the text: "Download your ordered files from here." Only displayed when actually download items were ordered. |
|
To fix this issue manually will have to change 4 templates (in azure/tpl/email/): html/order_cust.tpl html/senddownloadlinks.tpl plain/order_cust.tpl plain/senddownloadlinks.tpl Code changed from: [{ if $oOrderFileList }] to: [{ if $oOrderFileList and $oOrderFileList|count }] |