When I use the code: %begin_if|len(OUI_Products2.d.shortdesc)|% it sometimes shows the short description for some other product.
(2004/05/23)It may be showing some other product's description if the particular product does not have a record in the OUI_Products2 database. Try this instead:
%begin_if|len(g.Product2_OUI_shortdesc)|%
%var|g.Product2_OUI_shortdesc|%
%end_if%
The variable will have a value only if a record exists for that product in the OUI_Products2 database.
For other OUI_Products2 fields:
g.Product2_OUI_img_h = OUI_Products2.d.img_h
g.Product2_OUI_img_w = OUI_Products2.d.img_w
g.Product2_OUI_thn_h = OUI_Products2.d.thn_h
g.Product2_OUI_thn_w = OUI_Products2.d.thn_w
g.Product2_OUI_image2 = OUI_Products2.d.image2
g.Product2_OUI_img2_h = OUI_Products2.d.img2_h
g.Product2_OUI_img2_w = OUI_Products2.d.img2_w
g.Product2_OUI_image3 = OUI_Products2.d.image3
g.Product2_OUI_img3_h = OUI_Products2.d.img3_w
g.Product2_OUI_img3_w = OUI_Products2.d.img3_h
g.Product2_OUI_image4 = OUI_Products2.d.image4
g.Product2_OUI_img4_h = OUI_Products2.d.img4_h
g.Product2_OUI_img4_w = OUI_Products2.d.img4_w
g.Product2_OUI_htmltitle = OUI_Products2.d.htmltitle
g.Product2_OUI_linktitle = OUI_Products2.d.linktitle
g.Product2_OUI_shortdesc = OUI_Products2.d.shortdesc
g.Product2_OUI_globhead = OUI_Products2.d.globhead
g.Product2_OUI_globfoot = OUI_Products2.d.globfoot
Last update: 2004-12-07 13:11
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
- Is there any way to look up a customer's ... (2008-08-06 18:04)
- I am looking for a module that will allow ... (2008-08-06 18:00)
Top 10 
- 2852 views:
Adding Tokens to Evaluate Expressions - 2784 views:
Is there a way to "Limit" the number of ... - 2729 views:
Why won't you call me for technical support? I ... - 2619 views:
Are license keys valid for more than one store? ... - 2512 views:
I'm trying to enter a license key and get ... - 2496 views:
How do I install a module? - 2349 views:
How do I check for a module upgrade? - 2316 views:
How can display and change the parameters of an ... - 2164 views:
The total on my checkout pages are not correct. ... - 1976 views:
I have select and radio type attributes in my ...
















