| View previous topic :: View next topic |
| Author |
Message |
zeev 2
Joined: 09 Feb 2007 Posts: 881
|
Posted: Thu Mar 11, 2010 6:51 am GMT Post subject: Product detail page does not match QuickLook page |
|
|
I am using the following php code in my product detail template.
The code works properly in detail page but does not seem to work in QuickLook page.
See http://www.jewishbazaar.com/silver-wedding-glass-in-a.htm
I use weight of 0.010 for a test.
if (trim($productProperties['weight']) > 0.1) {
echo '<li>Weight: '.$productProperties['weight'],' lb.</li>';
} |
|
| Back to top |
|
 |
kris@searchfit 2
Joined: 20 Aug 2009 Posts: 32 Location: San Diego, CA
|
Posted: Thu Mar 11, 2010 2:25 pm GMT Post subject: |
|
|
I just checked and in your "JB-PRODUCTS-static" product template you do this:
if (trim($productProperties['weight']) > 0) {
echo '<li>Weight: '.$productProperties['weight'],' lb.</li>';
}
So it is working perfectly. The default template used by quicklook is set at:
Products -> Configure Products -> Quick Look
If you want quicklook to use a different template then you need to select it there, or change your template to do the > 0.1 test instead if that is what you want everywhere. _________________ Kris Bailey
SearchFit |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|