My product descriptions are contained in individual text files with each file having the same name as the SKU. If I change their extensions from ".txt" to "." I can place them in the INCLUDE directory and call them from within my product template by assigning a VAR and passing it the PRODUCT.SKU value, and then INCLUDING it instead of PRODUCT.Description
Is their any way to Concatenate 2 or more VARs so that I can add the ".txt" extension??
Using INCLUDE for individual text file descriptions
-
- Posts: 1
- Joined: Tue Feb 05, 2008 12:53 pm
-
- Posts: 889
- Joined: Fri Aug 11, 2006 1:35 pm
- Location: Orem, UT
- Contact:
RE: Using INCLUDE for individual text file descriptions
I do not know a way to include .txt with the SKU of a product and have that (SKU.txt) be referenced as a ShopSite include file. You would be able to reference it as a server side include, but not as a ShopSite include file.
However, since you are not using the product decsription field for the product description, you can use this field to include the SKU.txt for that product. You can download your ShopSite product database, and download only the Product SKU (and if you want Product Name field) and the product description field. You can then open that database in Excel, use an Excel equation to take the SKU field and add .txt and place that in the product description field, then upload that database into ShopSite. You would then be able to include the following tag in your product template:
[-- INCLUDE PRODUCT.Description PROCESS --]
-Lauren
However, since you are not using the product decsription field for the product description, you can use this field to include the SKU.txt for that product. You can download your ShopSite product database, and download only the Product SKU (and if you want Product Name field) and the product description field. You can then open that database in Excel, use an Excel equation to take the SKU field and add .txt and place that in the product description field, then upload that database into ShopSite. You would then be able to include the following tag in your product template:
[-- INCLUDE PRODUCT.Description PROCESS --]
-Lauren