test
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • kyovev Friend
    #167793

    Hello, 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 Friend
    #408474

    Could you give me a link to your page that you want to change? Because my zeolite_ii isn’t same yours.

    kyovev Friend
    khoand Friend
    #408495

    Hi,
    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; ?>

    kyovev Friend
    #408500

    Thank 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 Friend
    #408505

    You 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>

    kyovev Friend
    #408530

    khoand, 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
    Price

    but 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
    image

    Regards

    khoand Friend
    #408658

    You 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>

    kyovev Friend
    #409112

    Thank you, this helped 🙂

    One more question – which file should i edit to show 4 rows of products per page?

    khoand Friend
    #409178

    Example: you want to show 4 products per rows for Аксесоари category. You edit Аксесоари category, set Show x products per row: is 4

    kyovev Friend
    #409199

    You 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 Friend
    #409218

    You 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 folder

    kyovev Friend
    #409895

    Hello 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


    1. asdasdsadsadsa
    kyovev Friend
    #409915

    I 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 Friend
    #410192

    I 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 folder

Viewing 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