test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • oxicid Friend
    #160698

    Hi,
    I download and install zeolite 2 template with virtuemart but i found 2 major bug.
    1) the order button in shop don’t work (even in the online demo it don’t work) –>see attachement

    2) In the virtuemart checkout in the last phase virtuemart always show shop address instead of custimer address. initially i was thinking a virtuemart bug but after testing I’m sure this is a virtuemart zerolite 2 template bug

    Please fix it or send me a virtuemart template fixed because I’ve the site stopped and i cannot publish it until the fix is provided.

    NOTE: you can found all 2 issues in the online demo too.

    Thank You

    Matteo

    thank you in advance


    1. zeolite2_bug
    2. zeolite-II
    oxicid Friend
    #378653

    The bug nr. 2 seems to be a Virtuemart Problem fixed upgrading to 1.1.7.
    But the bug nr. 1 it’s a template problem !

    Phill Moderator
    #378685

    I have just checked the Sort By button in the standard Beez template for Joomla and it is not working there either so it looks like a fault with the JA_Zeolite layout for virtuemart. Setting the standard default theme in the VM back end and it i working fine. I will investigate further.

    Phill Moderator
    #378689

    Please open the file components>com_virtuemart>themes>ja-zeolite>templates>browse>includes>browse_orderbyform.tpl and replace all the code found inside with the folowing

    <?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
    mm_showMyFileName(__FILE__); ?>
    <!-- ORDER BY .... FORM -->
    <form action="<?php echo $mm_action_url."index.php" ?>" method="get" name="order">
    <?php
    if( !empty( $VM_BROWSE_ORDERBY_FIELDS )) {
    echo $this->fetch( 'browse/includes/browse_orderbyfields.tpl.php');
    // This is the toggle button for Descending / Ascending Order
    // It is wrapped into a JS function with a noscript area to keep it accessible
    echo mm_writeWithJS(' <input type="hidden" name="DescOrderBy" value="'.$asc_desc[0].'" /><a href="javascript: document.order.DescOrderBy.value=''.$asc_desc[1].''; document.order.submit()"><img src="'. $mosConfig_live_site."/images/M_images/$icon" .'" border="0" alt="'. $VM_LANG->_('PHPSHOP_PARAMETER_SEARCH_'.$asc_desc[0].'ENDING_ORDER') .'" title="'.$VM_LANG->_('PHPSHOP_PARAMETER_SEARCH_'.$asc_desc[0].'ENDING_ORDER') .'" width="12" height="12" /></a>',
    '<select class="inputbox" name="DescOrderBy">
    <option '.$selected[0].' value="DESC">'.$VM_LANG->_('PHPSHOP_PARAMETER_SEARCH_DESCENDING_ORDER').'</option>
    <option '.$selected[1].' value="ASC">'.$VM_LANG->_('PHPSHOP_PARAMETER_SEARCH_ASCENDING_ORDER').'</option>
    </select>
    <input class="button" type="submit" value="'.$VM_LANG->_('PHPSHOP_SUBMIT').'" />');
    }
    ?>
    <input type="hidden" name="Itemid" value="<?php echo $Itemid ?>" />
    <input type="hidden" name="option" value="com_virtuemart" />
    <input type="hidden" name="page" value="shop.browse" />
    <input type="hidden" name="category_id" value="<?php echo $category_id ?>" />
    <input type="hidden" name="manufacturer_id" value="<?php echo $manufacturer_id ?>" />
    <input type="hidden" name="keyword" value="<?php echo $keyword ?>" />
    <input type="hidden" name="keyword1" value="<?php echo $keyword1 ?>" />
    <input type="hidden" name="keyword2" value="<?php echo $keyword2 ?>" />

    <?php
    if( !empty( $product_type_id )) {
    echo '<input type="hidden" name="product_type_id" value="'.$product_type_id.'" />';
    echo $ps_product_type->get_parameter_form($product_type_id);
    }
    if( $show_top_navigation ) {
    ?>
        <?php echo $VM_LANG->_('PN_DISPLAY_NR') ?>  
    <?php $pagenav->writeLimitBox(); ?>
    <noscript><input type="submit" value="<?php echo $VM_LANG->_('PHPSHOP_SUBMIT') ?>" /></noscript>

    <!-- PAGE NAVIGATION AT THE TOP -->
    <br/>
    <div style="text-align:center;"><?php
    $pagenav->writePagesLinks( $search_string );
    echo '<br />';
    $pagenav->writePagesCounter();
    ?>
    </div>

    <?php

    }
    ?>
    </form>

    oxicid Friend
    #378709

    Perfect. problem Solved.

    Thank You for rapid solution.

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

This topic contains 5 replies, has 2 voices, and was last updated by  oxicid 13 years, 10 months ago.

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