Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Search
Search


Forum Index » Templates

Post new topic   Reply to topic
Automated Action to Email about Backorders
View previous topic :: View next topic  
Author Message
todaysgentleman



Joined: 31 Oct 2008
Posts: 8

PostPosted: Fri Jun 15, 2012 8:15 am    Post subject: Automated Action to Email about Backorders Reply with quote

When one item form an order is on backorder, we make the Item Status "Backordered". We want to create an email that informs the customer of this. And we want to indicate in the email the backordered item.

When the item status is on backorder, the order will automatically go into an order status filter called Backordered. I can create an action to send an email, but I want to notify the customer that only one item is on backorder.

Is there a way to do this? Any help is appreciated.
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Fri Jun 15, 2012 9:46 am    Post subject: Reply with quote

Will you be using a custom template for the email notification, or one of our stock templates? If you plan to use our standard invoice / packing slip template you could make some quick edits to the code to output the Item Status. In Manage -> Manage Templates, open the Invoices \ Standard template, then click Edit to view the template code, and scroll down until you see the following:

Code:
<td style="{$orderDetailContentStyle};">
                        <xsl:value-of select="Name" />
</td>


and then adjust it to look like:

Code:
<td style="{$orderDetailContentStyle};">
                        <xsl:value-of select="Name" />
                        <xsl:if test="Status != ''">
                            (<font style="color:red;"><xsl:value-of select="Status" /></font>)
                        </xsl:if>
                    </td>


This would output the item status in red, next to any line item where an Item Status value existed.
_________________
Wes
ShipWorks
Back to top
View user's profile Visit poster's website
gentlebath



Joined: 29 Dec 2007
Posts: 20

PostPosted: Mon Nov 05, 2012 5:58 pm    Post subject: Thanks for the code BUT... Reply with quote

Hi Wes,

I saw this code and really appreciate it = BUT, I'm still waiting for more robust backorder functions in SW. For instance on the order I just tested this code with the person ordered 4 items - I had 3 items and had to order the 4th. I need a way to indicate this on the initial invoice and then somehow create a second invoice for shipping the item when I get it in. I can use the same order number twice to ship with but I hate to mess up the original invoice by changing it for the second shipping in case I need to go back and track what I did.

Maybe I missed something somewhere and we can now do this - if so PLEASE let me know.

I also added Backorder Support to the Wish List just in case.

Thanks again for the code,

Brenda
_________________
Brenda
The Gentle Bath & Company

Hosted by Volusion since 2012
Shipping by Shipworks since 2007
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index » Templates All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  

Powered by phpBB © 2001, 2002 phpBB Group