Jump to content
Sign in to follow this  
ribas

Редактирование модуля Price List

Recommended Posts

Здравствуйте.

Ситуация - есть opencart 1.5.1 + VQMOD + модуль Wholesalepricelistv1.3.

9737obrn0rqa.jpg

Подскажите, как на странице вывода прайса убрать некоторые из колонок, в частности необходимо удалить колонку фото товара и его рейтинг. Где это можно сделать и как? Спасибо.

Share this post


Link to post
Share on other sites

catalog/view/theme/default/template/myoc/pricelist.tpl

удалить строки:

<th class="image"><?php echo $column_image; ?></th>

		<th><?php if ($sort == 'rating') { ?>
			<a href="<?php echo $sort_rating; ?>" class="<?php echo strtolower($order); ?>"><?php echo $column_rating; ?></a>
			<?php } else { ?>
			<a href="<?php echo $sort_rating; ?>"><?php echo $column_rating; ?></a>
			<?php } ?></th>

			<td class="tcenter image"><?php if($product['popup']) { ?><a href="<?php echo $product['popup']; ?>" class="fancybox colorbox" rel="fancybox<?php echo $product_id; ?>"><?php } ?><img src="<?php echo $product['image']; ?>" alt="no_image" title="<?php echo $product['name']; ?>" /><?php if($product['popup']) { ?></a><?php } ?>
				<?php if($product['gallery']) { ?>
				<?php foreach ($product['gallery'] as $gallery) { ?>
				<div style="display: none;"><a class="fancybox colorbox" href="<?php echo $gallery; ?>" rel="fancybox<?php echo $product_id; ?>"><img src="<?php echo $gallery; ?>" alt="" /></a></div>
				<?php } ?>
				<?php } ?>
			</td>

			<td><img src="catalog/view/theme/default/image/stars-<?php echo $product['rating']; ?>.png" alt="<?php echo $product['rating']; ?> *" /></td>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.