-
AuthorPosts
-
kyovev Friend
kyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 25, 2011 at 3:09 pm #167793Hello, which template files should be edited to achieve this?
currently my products look like that
http://www.joomlart.com/forums/attachment.php?attachmentid=15302&stc=1&d=1314284763
i want to remove in the category listing item details and rating
http://www.joomlart.com/forums/attachment.php?attachmentid=15304&stc=1&d=1314284866
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 25, 2011 at 4:10 pm #408474Could you give me a link to your page that you want to change? Because my zeolite_ii isn’t same yours.
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 25, 2011 at 4:13 pm #408475khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 25, 2011 at 5:26 pm #408495Hi,
You remove this code from componentscom_virtuemartthemesja-zeolitetemplatescommonvotes_allvotes.tpl.php
<!-- The "Average Customer Rating: xxxxX (2 votes) " Part -->
<span class="contentpagetitle"><?php echo $VM_LANG->_('PHPSHOP_CUSTOMER_RATING') ?>:</span>
<br />
<img src="<?php echo VM_THEMEURL ?>images/stars/<?php echo $rating ?>.gif" align="middle" border="0" alt="<?php echo $rating ?> stars" />
<?php echo $VM_LANG->_('PHPSHOP_TOTAL_VOTES').": ". $allvotes; ?>1 user says Thank You to khoand for this useful post
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 25, 2011 at 5:50 pm #408500Thank you, this worked.
Can you help me with two more things? I want to remove the
label. Here is updated demo http://store.razberi.info/%D0%9E%D0%B1%D1%83%D0%B2%D0%BA%D0%B8/vmchk.html
and the second is.. i want to show the products in 4 rows (4 product in 4 rows (16 products on page))
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 25, 2011 at 6:14 pm #408505You remove this code from componentscom_virtuemartthemesja-zeolitetemplatesbrowsebrowse_4.php
<p><?php echo $product_s_desc ?><br />
<a style="font-size: 9px; font-weight: bold;" href="<?php echo $product_flypage ?>">[<?php echo $product_details ?>...]</a>
</p>1 user says Thank You to khoand for this useful post
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 25, 2011 at 7:31 pm #408530khoand, thank you very much for the support. I forgot to ask which file should i edit in this template to change the ordering of the price, the image and the title of a product?
For example i want to show my products like that http://www.cheapsk8shoes.com/catalog/apparel
Image
Title
Pricebut currently my items are shown that way http://store.razberi.info/%D0%9E%D0%B1%D1%83%D0%B2%D0%BA%D0%B8.html
title
price
imageRegards
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 26, 2011 at 6:31 am #408658You replace this code from componentscom_virtuemartthemesja-zeolitetemplatesbrowsebrowse_4.php
<h2>
<a style="font-size: 16px; font-weight: bold;" href="<?php echo $product_flypage ?>"><?php echo $product_name ?></a>
</h2><p><?php echo $product_price ?></p>
<div style="float:left;width:90%" >
<a href="<?php echo $product_flypage ?>" title="<?php echo $product_name ?>">
<?php echo ps_product::image_tag( $product_thumb_image, 'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?>
</a>
</div>
with
<div style="float:left;width:90%" >
<a href="<?php echo $product_flypage ?>" title="<?php echo $product_name ?>">
<?php echo ps_product::image_tag( $product_thumb_image, 'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?>
</a>
</div><h2>
<a style="font-size: 16px; font-weight: bold;" href="<?php echo $product_flypage ?>"><?php echo $product_name ?></a>
</h2>
<p><?php echo $product_price ?></p>1 user says Thank You to khoand for this useful post
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 28, 2011 at 9:34 am #409112Thank you, this helped 🙂
One more question – which file should i edit to show 4 rows of products per page?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 28, 2011 at 4:48 pm #409178Example: you want to show 4 products per rows for Аксесоари category. You edit Аксесоари category, set Show x products per row: is 4
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 28, 2011 at 5:30 pm #409199You understand me wrong. Currently it is set to 4, but with this option i can show 4 products on a row, but i have 5 rows. There is no option is vm how much should be the rows (in this template they are five). I can set only how much the products per page should be.
If now your understand me can you help me to find the file and set 4 rows, not five.
Regards
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
August 28, 2011 at 6:41 pm #409218You try this way: you replace this code from /libraries/joomla/html/pagination.php
for ($i = 5; $i <= 30; $i += 5) {
$limits[] = JHTML::_('select.option', "$i");
}
with
for ($i = 6; $i <= 30; $i += 5) {
$limits[] = JHTML::_('select.option', "$i");
}
– Delete all of files of /cache and /t3-assets folderkyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 31, 2011 at 5:54 pm #409895Hello again. Unfortunately this didn’t do the trick. Would you please look at the attached image?
i want to show only 4 rows, not five.
regards
kyovev Friendkyovev
- Join date:
- December 2010
- Posts:
- 144
- Downloads:
- 0
- Uploads:
- 18
- Thanks:
- 16
- Thanked:
- 6 times in 1 posts
August 31, 2011 at 8:35 pm #409915I have already did this. Maybe you did not understand me well. I want to show 4 rows of products, not five. Currently i am working on this demo http://store.razberi.info/%D0%9E%D0%B1%D1%83%D0%B2%D0%BA%D0%B8-30.html
with the option in virtuemart i can only set the number of items in a row, but not the number of the rows. I want to edit the number if the rows – currently you can see that there are 5 rows and every row has 4 products. What i want to do is to have only 4 rows on a page (4 horizontal areas with products). It looks that this should be edited in the template, but i can’t find the file…
Regards
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
September 2, 2011 at 6:50 am #410192I understand what you mean. You try this way: you replace code from /libraries/joomla/html/pagination.php
for ($i = 5; $i <= 30; $i += 5) {
$limits[] = JHTML::_('select.option', "$i");
}
with
for ($i = 5; $i <= 30; $i += 5) {
if ($i == 15){
$limits[] = JHTML::_('select.option', "16");
}else{
$limits[] = JHTML::_('select.option', "$i");
}
}
Replace
$selected = $this->_viewall ? 0 : $this->limit;
with
$selected = "16";
– Delete all of files of /cache and /t3-assets folderAuthorPostsViewing 15 posts - 1 through 15 (of 15 total)This topic contains 15 replies, has 2 voices, and was last updated by khoand 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to hide item details and rating in category listing?
Viewing 15 posts - 1 through 15 (of 15 total)