IT seems that customfieldsSorted is missing so i cant even try using the whole ontop thing.
Can anyone else verify this?
I opened the productdetails tempalte file and did
echo "<pre>";
print_r($this->product);
echo "</pre>";
hoping to find something to help me figure this out.
http://forum.virtuemart.net/index.php?topic=97419.0
what do you mean missing?
http://forum.virtuemart.net/index.php?topic=98505.0
Maybe im doing something wrong then
How about this...
what steps do i take in order to use the custom fields positions?
because obviously im doing something wrong since i cant even see the variables related to it.
thanks
In the default product page, there is ONLY 1 set position.
if (!empty($this->product->customfieldsSorted['ontop'])) {
$this->position = 'ontop';
echo $this->loadTemplate('customfields');
} // Product Custom ontop end
ontop has to be written in the custom field layout position.
IT DOES NOT work with cart attributes. BECAUSE, cart attributes have to be in the add to cart form.
YOU CAN change the position of this code.
<?php if (!empty($this->product->customfieldsSorted['bottom'])) {
$this->position = 'bottom';
echo $this->loadTemplate('customfields');
} ?>
and put it anywhere in your product template and use it.
OK that was my problem then. I was seeing cart attributes as the same thing
THANKS!