VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Adding CatalogID to Merchant & Supplier Email
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mori
Starting Member

4 Posts

Posted - March 14 2005 :  10:25:37  Show Profile  Reply with Quote
Does anybody know how to add the CatalogID to the email sent to the supplier/merchant? VP-ASP seems to only display the title and description. I've tried editing tmp_oitems.txt but it doesn't seem to do anything.

Can anybody help?

-Mori

devshb
Senior Member

United Kingdom
1898 Posts

Posted - March 14 2005 :  11:13:19  Show Profile  Visit devshb's Homepage  Reply with Quote
I think it's due to the field that's being used in the email template.

if you use
[ADD_OITEMSTEMPLATE]

instead of

[ADD_OITEMS]

in your email template then it'll use that template file for the order items instead of the generic/standard default.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on March 14 2005 11:13:48
Go to Top of Page

Mori
Starting Member

4 Posts

Posted - March 14 2005 :  13:44:44  Show Profile  Reply with Quote
Thanks! I changed [ADD_OITMES] to [ADD_OITEMSTEMPLATE] and it displays the category ID but it seemed to interfere with the html formatting. Here is what I have in oitems.txt:

Description: [itemname]
Quantity: [numitems]
Unit Price: [formatcurrency unitprice]
Total: [add_oitemtotal]
Delivery Address: [add_oitemdelivery]
ID: [catalogID]

The email outputs exaclty the following:

Description: Scallop Fry<br>Deep Fried Scallop on SkewerQuantity: 5Unit Price:
$7.00Total: $35.00Delivery Address: ID: 223

I really appreciate your help,
Mori








Edited by - Mori on March 14 2005 13:45:01
Go to Top of Page

devshb
Senior Member

United Kingdom
1898 Posts

Posted - March 14 2005 :  14:18:04  Show Profile  Visit devshb's Homepage  Reply with Quote
just add <br> to the beginning of each line to force newlines.

<br> should automatically get translated into an email newline character for emails.

ie:
Description: [itemname]
<br>Quantity: [numitems]
<br>Unit Price: [formatcurrency unitprice]
<br>Total: [add_oitemtotal]
$<br>Delivery Address: [add_oitemdelivery]
<br>ID: [catalogID]

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page

Mori
Starting Member

4 Posts

Posted - March 17 2005 :  14:43:25  Show Profile  Reply with Quote
It looks like [catalogid] needs to be called through tmp_oitems.txt which goes beserk when i try to modify it.

:(

Go to Top of Page

kuzerman
Starting Member

13 Posts

Posted - November 26 2006 :  07:45:25  Show Profile  Reply with Quote
same here when I replace [ADD_OITMES] with [ADD_OITEMSTEMPLATE] for some reason the email comes in with the written html code ie <html>
<head>
</head>
<body>
<table border="1" cellspacing="0" width="
etc..
anybody else having this problem?
Go to Top of Page

support
Administrator

4266 Posts

Posted - November 26 2006 :  14:36:49  Show Profile  Visit support's Homepage  Reply with Quote
Hi,

The issue can be caused if the "xoitemstemplate" field in Set-Up has been set up to use a text file. VP-ASP will check if the file type is "txt" and if it is, it will change it to use text instead of HTML regardless of what you have set the system to use. If you change the xoitemstemplate to use a HTM file, it should resolve your issue.

Thank you

Regards,
Michael
VPASP SUPPORT
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000