X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Out Of Stock Email Options? (https://forum.x-cart.com/showthread.php?t=26562)

obaluba2 11-13-2006 04:15 AM

Out Of Stock Email Options?
 
Hi,

When a product goes out of stock the shop owner receives an email with some information in it regarding the product. Is there anyway this could be modified to include the SKU?

Where are the templates for these emails located?

any help would be muchos appreciated! :-)

thanks as ever for reading!

balinor 11-13-2006 04:20 AM

Re: Out Of Stock Email Options?
 
All the e-mail templates are in skin1/mail/html. Moving to Template Editing

obaluba2 11-13-2006 04:25 AM

Re: Out Of Stock Email Options?
 
Thanks for that, would it be the: lowlimit_warning_notification_admin.tpl

email that would be sent when a product goes out of stock?

balinor 11-13-2006 04:28 AM

Re: Out Of Stock Email Options?
 
That would be my guess :) Just add the sku code in there:

{$lng.lbl_sku}: {$product.productcode}

obaluba2 11-13-2006 04:31 AM

Re: Out Of Stock Email Options?
 
Ok Cool I will add that, so the code should look like this:

{* $Id: lowlimit_warning_notification_admin.tpl,v 1.2 2004/05/28 12:21:02 max Exp $ *}
{config_load file="$skin_config"}
{include file="mail/html/mail_header.tpl"}
<P>Warning message from { $config.Company.company_name }
<P><B>#{$lng.lbl_sku}: {$product.productcode} {$product.product}</B>
<P>{$product.avail} item(s) in stock
{include file="mail/html/signature.tpl"}


Is there an easy way to test this, without putting the site out of action?

Thanks as ever for your help :)

balinor 11-13-2006 04:33 AM

Re: Out Of Stock Email Options?
 
Just add the code and then use the 'Preview' button at the bottom of the template editing screen.

obaluba2 11-13-2006 05:45 AM

Re: Out Of Stock Email Options?
 
Thanks!


All times are GMT -8. The time now is 05:44 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.