Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Manufacture Logo Not Showing on Category Pages

Manufacture Logo Not Showing on Category Pages 10 years 6 months ago #6856

Original Post: flexiblewebdesign.com/index.php?option=com_kunena&view=topic&catid=5&id=1447&Itemid=234

I followed the directions that you suggested and I am having issues showing the Manufactures Logo in place of the name.

Instructions: www.flexiblewebdesign.com/forum-virtuemart-2-template-fashionmart-support/442-providers-logo-on-the-product

Currently Have this in my code. I would like to use the manufacturers logo instead.

<?php if ($this->search ==null) { ?>
<div class="FlexibleCategiryTitle">
<span class="FlexibleCategiryTitleSPAN"><?php echo $this->category->category_name; ?></span>
</div>
<?php } else { ?>
<div class="FlexibleCategiryTitle">
<span class="FlexibleCategiryTitleSPAN"><?php echo JText::_('COM_VIRTUEMART_SEARCH') ?></span>
</div>
<?php } ?>


Code that you suggested: When I apply the code below, nothing shows on the frontend and there is an image in the logo section in the admin panel. Maybe its out of scope. When I place the code down below the (GridViewV2) div, it works! Any thoughts on what I can do to get this working?

<?php
if (empty($product->mf_images[0]->file_url_thumb)) {
echo ""; // leave here empty so nothing will be visible
} else { ?><?php
$ManufacturerLink = JRoute::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $product->virtuemart_manufacturer_id . '&tmpl=component');
$ManufacturerName = $product->mf_name;
?>
<div class="FlexibleProductDetailsManufacturerLogo">
<a title="<?php echo $ManufacturerName; ?>" rev="iframe|550|650" rel="facebox" href="<?php echo $ManufacturerLink ?>"><img src="<?php echo $product->mf_images[0]->file_url_thumb; ?>" alt="<?php echo $ManufacturerName; ?>" /></a>
</div>
<?php } ?>
Last Edit: 10 years 6 months ago by Kory Jackson.
The topic has been locked.

Manufacture Logo Not Showing on Category Pages 10 years 6 months ago #6864

Look here:
flexiblewebdesign.com/index.php?option=com_kunena&view=topic&catid=5&id=1447&Itemid=234

Don't create duplicate topics.

This topic is closed.

Regards.
Support & Development
The topic has been locked.
Time to create page: 0.059 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo