notify our client's admin that an order has been placed with 3 or more in
quantity of an individual item (as opposed to 3 or more total quantity).
How would I go about modifying the following code to include verifying that
the quantity flag is set for an individual product found in the order? Our
store is built using CFCs and the relevant DB fields are basketid,
product_code and quantity in the "baskets" table.
<!--- send the notification for orders with 3 or more in the quantity --->
<cfif baskets.quantity lt 3>
<cfset variables.recipients =
settings.order_notification_recipients>
<cfset variables.subject = settings.order_notification_subject>
<cfelse>
<cfset variables.recipients =
settings.order_notification_recipients_quantity3>
<cfset variables.subject =
settings.order_notification_subject_quantity3>
</cfif>
Please let me know if any other info is needed.
Thanks!
Brenton E.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

