"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"
??? In the third section, a table shows the audit trail for the order. Figure 19-7. The new order details administration page We implement the new functionality in the following exercise. CHAPTER 19 ?– IMPLEMENTING THE ORDER PIPELINE: PART 2 616 Exercise: Modifying the Order Details Admin Section 1. Remove the following lines from presentation/templates/admin_order_details.tpl: {if $obj->mOrderProcessMessage}
{$obj->mOrderProcessMessage}
{/if} 2. Also, in presentation/templates/admin_order_details.tpl, replace the Process Order button code with the highlighted code: {if ! $obj->mEditEnabled} disabled="disabled" {/if} /> {if $obj->mProcessButtonText} value="{$obj->mProcessButtonText}" /> {/if}
Order contains these products:
3. In the same file, add the following highlighted code: {section name=i loop=$obj->mOrderDetails}