test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • nilgunce Friend
    #891085

    Hi; Howcan I remove product filter and change "view" into turkish word?

    https://www.dropbox.com/s/dutgevvdt98je19/Screenshot%202016-02-26%2023.26.51.png?dl=0

    Saguaros Moderator
    #892104

    Hi nilgunce,

    To get rid of this filter, you can open the file: ROOT/templates/ja_techzone/html/com_virtuemart/category/default.php

    At approx line 88, look for this snippet of code:

    <div class="orderby-displaynumber">
        <div class="floatleft vm-order-list">
            <?php echo $this->orderByList['orderby']; ?>
            <?php echo $this->orderByList['manufacturer']; ?>
        </div>
        <div class="vm-pagination vm-pagination-top">
            <?php echo $this->vmPagination->getPagesLinks (); ?>
            <span class="vm-page-counter"><?php echo $this->vmPagination->getPagesCounter (); ?></span>
        </div>
        <div class="floatright display-number"><?php echo $this->vmPagination->getResultsCounter ();?><br/><?php echo $this->vmPagination->getLimitBox ($this->category->limit_list_step); ?></div>
        <div class="floatright gridlist">
            <span>View</span>
            <div class="view">
                <a href="#" id="list" class=""><i class="fa fa-th-list"></i></a>
                <a href="#" id="grid" class="active"><i class="fa fa-th icon-white"></i></a>
            </div>
        </div>
    
        <div class="clear"></div>
    </div> <!-- end of orderby-displaynumber -->

    and remove any order field you want.

    For example, if you don’t want to show sort by Ordering and Manufacturer, you can remove this div:

        <div class="floatleft vm-order-list">
            <?php echo $this->orderByList['orderby']; ?>
            <?php echo $this->orderByList['manufacturer']; ?>
        </div>

    In above snippet of code, you can see this line: <span>View</span>

    change it to: <span><?php echo JText::_( 'TPL_VIEW' ); ?></span>

    Then open the language file of template for Turkish and add this text field:

    TPL_VIEW = "your_text_goes_here"

    nilgunce Friend
    #892543

    tx. Saguaros.

    Saguaros Moderator
    #892597

    You’re welcome!!!

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Saguaros 8 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum