Page 1 of 1

Errors trying to set a VAR to the value of PRODUCT.Price & P

PostPosted: Wed Mar 03, 2004 12:07 pm
by Vince Salese
It is in the Define Subproducts section of a Product Template



"Loren" <loren_d_c@yahoo.com> wrote in message
news:c251kb$epo$1@support.shopsite.com...
Is it the product template that you are setting those VAR's up in, or
are you doing it in the LOOP PRODUCTS in the page template? The
PRODUCT.* tags are not valid in a page template.

-Loren


Vince Salese wrote:
In SS7 Pro
I'm trying to set two variables to two product database values. Here's
the
code. The varibles are not initialized to anything prior to these two
lines
(these lines are line 49 & 50 in the template)

[-- VAR.ACPrice PRODUCT.SaleAmount --]
[-- VAR.MSRP PRODUCT.Price --]

When I publish the product I get the following errors

Indexing Product [93:test Product 00]...
Indexing Product [1080:1/4" G4 Hot-Galvanized Chain]...
Indexing Product [89:Test Product #2]...
Indexing Product [92:Test Product 0]...
Indexing Product [93:test Product 00]...
Indexing Product [91:Test Product Number Four]...
Indexing Product [16:Test Product One]...
Indexing Product [90:Test Product Three]...
Cleaning Environment
Closing All files
End of Partial Reindex.


Generating Page [95:Test Page]...
Adding Product [test Product 00]...
AC_Product [49]: Template Error: Product tag not allowed
AC_Product [50]: Template Error: Product tag not allowed
AC_Product [59]: Template Error: Product tag not allowed