- Posts: 12
- Thank you received: 0
Related Products
-
angelos33
Inactive member - Topic Author
- New Member
Less
More
12 years 2 months ago #22796
by angelos33
Related Products was created by angelos33
Related Products don't show on the product details page ...any solution?
thanks
thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #22808
by ivan.milic
Replied by ivan.milic on topic Related Products
First question is did you set them in product editor?
Please Log in to join the conversation.
-
angelos33
Inactive member - Topic Author
- New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 2 months ago #22824
by angelos33
Replied by angelos33 on topic Related Products
yes i did
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #22847
by ivan.milic
Replied by ivan.milic on topic Related Products
Open
templates\hot_drug_store\html\com_virtuemart\productdetails\default.php
just before this line:
<?php // Related Products
its around 309
insert this:
templates\hot_drug_store\html\com_virtuemart\productdetails\default.php
just before this line:
<?php // Related Products
its around 309
insert this:
Code:
<?php
// Product Files
// foreach ($this->product->images as $fkey => $file) {
// Todo add downloadable files again
// if( $file->filesize > 0.5) $filesize_display = ' ('. number_format($file->filesize, 2,',','.')." MB)";
// else $filesize_display = ' ('. number_format($file->filesize*1024, 2,',','.')." KB)";
/* Show pdf in a new Window, other file types will be offered as download */
// $target = stristr($file->file_mimetype, "pdf") ? "_blank" : "_self";
// $link = JRoute::_('index.php?view=productdetails&task=getfile&virtuemart_media_id='.$file->virtuemart_media_id.'&virtuemart_product_id='.$this->product->virtuemart_product_id);
// echo JHTMl::_('link', $link, $file->file_title.$filesize_display, array('target' => $target));
// }
if (!empty($this->product->customfieldsRelatedProducts)) {
echo $this->loadTemplate('relatedproducts');
} // Product customfieldsRelatedProducts END
if (!empty($this->product->customfieldsRelatedCategories)) {
echo $this->loadTemplate('relatedcategories');
} // Product customfieldsRelatedCategories END
// Show child categories
if (VmConfig::get('showCategory', 1)) {
echo $this->loadTemplate('showcategory');
}
if (!empty($this->product->customfieldsSorted['onbot'])) {
$this->position='onbot';
echo $this->loadTemplate('customfields');
} // Product Custom ontop end
?>
Please Log in to join the conversation.
-
angelos33
Inactive member - Topic Author
- New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 2 months ago #22857
by angelos33
Replied by angelos33 on topic Related Products
thanks!
but formatting is going crazy:
37.130.225.50/~vattensk/diskmaskinsunder...kinsunderlagg-detail
but formatting is going crazy:
37.130.225.50/~vattensk/diskmaskinsunder...kinsunderlagg-detail
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #22859
by ivan.milic
Replied by ivan.milic on topic Related Products
I see nothing???
The following user(s) said Thank You: angelos33
Please Log in to join the conversation.
Time to create page: 0.086 seconds