Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Out Of Stock Email Options?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-13-2006, 04:15 AM
 
obaluba2 obaluba2 is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 152
 

Default 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!
__________________
4.0.1.18 & 4.1.6 & 4.1.9 & 4.1.11 & 4.2.2 & 4.3.2, 4.6.1
Reply With Quote
  #2  
Old 11-13-2006, 04:20 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Out Of Stock Email Options?

All the e-mail templates are in skin1/mail/html. Moving to Template Editing
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-13-2006, 04:25 AM
 
obaluba2 obaluba2 is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 152
 

Default 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?
__________________
4.0.1.18 & 4.1.6 & 4.1.9 & 4.1.11 & 4.2.2 & 4.3.2, 4.6.1
Reply With Quote
  #4  
Old 11-13-2006, 04:28 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Out Of Stock Email Options?

That would be my guess Just add the sku code in there:

{$lng.lbl_sku}: {$product.productcode}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-13-2006, 04:31 AM
 
obaluba2 obaluba2 is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 152
 

Default 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
__________________
4.0.1.18 & 4.1.6 & 4.1.9 & 4.1.11 & 4.2.2 & 4.3.2, 4.6.1
Reply With Quote
  #6  
Old 11-13-2006, 04:33 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Out Of Stock Email Options?

Just add the code and then use the 'Preview' button at the bottom of the template editing screen.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 11-13-2006, 05:45 AM
 
obaluba2 obaluba2 is offline
 

Senior Member
  
Join Date: Sep 2006
Posts: 152
 

Default Re: Out Of Stock Email Options?

Thanks!
__________________
4.0.1.18 & 4.1.6 & 4.1.9 & 4.1.11 & 4.2.2 & 4.3.2, 4.6.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:28 PM.

   

 
X-Cart forums © 2001-2020