News:

Looking for documentation? Take a look on our wiki

Main Menu

how to show up shipment logo in category view?

Started by old_fritz, August 28, 2012, 22:29:42 PM

Previous topic - Next topic

old_fritz

hi there,

building up a price comperison page.
in the category view i changed the add to cart button to a link button to the vendors page.
so i just want to show up a logo from linked vendor, beside the link button.

i used the shipment logo from custom fields for that case. but it is just shown up in the productdetail view.
so how to bring that logo in the category view?

any idea?

thanks in advance!


chris

old_fritz


old_fritz

current productdetail_view:






current category_view:



[attachment cleanup by admin]

old_fritz

#3
... thank you, thank you - for that great responce!!!   :(

anyway, for all who fight with the same problem, i found the solution. it was hide in an other thread:

you have to insert some code in the category_php behind:
Quote// Show Products ?>
      <div class="product floatleft<?php echo $Browsecellwidth . $show_vertical_separator ?>">
         <div class="spacer">

insert this:

Quote<?php $custom_title = null;
if (!empty($product->customfields)) {
foreach ($product->customfields as $field) {
if ($field->is_hidden ) //OSP http://forum.virtuemart.net/index.php?topic=99320.0
continue;
if ($field->display) { ?>
<span class="product-field-display"><?php echo $field->display ?></span>
<?php } ?> <?php } ?> <?php }  ?>



really, it works perfect!!!
8)