Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • kathrin1 Friend
    #122700

    Perhaps I’m somehow overlooking the setting to not show the product name in your nifty module, JA VM Product Slider. Is there such a parameter?
    If there really is no such setting, is a hack possible?
    I’m no Javascript programmer, but I can comment out a block of text, if I could find it, which I can’t…:-[
    Any hints?

    PS: Any chance of getting a setting for that into future versions?

    Thanks much!

    kathrin1 Friend
    #229402

    Oh well. Good thing about having low expectations is that they are often met.

    I have found a different template for VM that has a great product slider that allows for control of that variable, so I’ll survive. Competition is good.

    Thanks anyway.

    kallan Friend
    #229412

    Hi,

    I have been trawling through the slider files and as yet have not found anywhere that is the actual outputting of each product. I have a slight feeling that it is actually using part of the VM component to do this.

    Hopefully someone with more inside knowledge will let me know more.

    Kiwidesign

    bluecafe Friend
    #229439

    <em>@kallan 27527 wrote:</em><blockquote>Hi,

    I have been trawling through the slider files and as yet have not found anywhere that is the actual outputting of each product. I have a slight feeling that it is actually using part of the VM component to do this.

    Hopefully someone with more inside knowledge will let me know more.

    Kiwidesign</blockquote>

    The slider module is using the mambot productsnapshot. Though I am not an expert in this regard altering the mambot productsnapshot will have an impact on all other virtuemart modules too so it’s probably not recommended.

    edition Friend
    #233697

    Hello,
    Please I need the solution. Thethe product name is too long. I have need only to post the the products pictures.
    Please Help
    Thanks

    edition Friend
    #233730

    up
    Please help

    walterjr Friend
    #234631

    anyone can please tell me how to hide the product name in JA VM Product Slider???

    thank’s a lot.

    john6555 Friend
    #236504

    I also require the answer to this. Someone from Joomlart please respond asap.

    john6555 Friend
    #236538

    You can do a fake fix for this by changing the text color to white.

    #ja-slider {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    }

    However can Joomlart please provide a real solution to this please.

    dozza Friend
    #308087

    Open productsnapshot.tpl.php file in componentscom_virtuemartthemesdefaulttemplates common folder, and you’ll find the following code:

    <?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); ?>

    <?php if( $show_product_name ) : ?>
    <?php endif; ?>
    <span style="font-weight:bold;"><?php echo $product_name ?></span>
    <br />

    <a title="<?php echo $product_name ?>" href="<?php echo $product_link ?>">
    <?php
    // Print the product image or the "no image available" image
    echo ps_product::image_tag( $product_thumb_image, "alt="".$product_name.""");
    ?>
    </a>
    <br />

    <?php
    if( !empty($price) ) {
    echo $price;
    }
    ?>
    <?php
    if( !empty($addtocart_link) ) {
    ?>
    <br />
    <form action="<?php echo $mm_action_url ?>index.php" method="post" name="addtocart" id="addtocart">
    <input type="hidden" name="option" value="com_virtuemart" />
    <input type="hidden" name="page" value="shop.cart" />
    <input type="hidden" name="Itemid" value="<?php echo ps_session::getShopItemid(); ?>" />
    <input type="hidden" name="func" value="cartAdd" />
    <input type="hidden" name="prod_id" value="<?php echo $product_id; ?>" />
    <input type="hidden" name="product_id" value="<?php echo $product_id ?>" />
    <input type="hidden" name="quantity" value="1" />
    <input type="hidden" name="set_price[]" value="" />
    <input type="hidden" name="adjust_price[]" value="" />
    <input type="hidden" name="master_product[]" value="" />
    <input type="submit" class="addtocart_button_module" value="<?php echo $VM_LANG->_('PHPSHOP_CART_ADD_TO') ?>" title="<?php echo $VM_LANG->_('PHPSHOP_CART_ADD_TO') ?>" />
    </form>
    <br />
    <?php
    }
    ?>

    Comment out/ delete/ move the bold red code as required.

    Eg: If you want the product name below the image, use the following where I’ve moved that <span> to a position lower down…:

    <?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); ?>

    <?php if( $show_product_name ) : ?>
    <?php endif; ?>

    <a title="<?php echo $product_name ?>" href="<?php echo $product_link ?>">
    <?php
    // Print the product image or the "no image available" image
    echo ps_product::image_tag( $product_thumb_image, "alt="".$product_name.""");
    ?>
    </a>
    <br />
    <span style="font-weight:bold;"><?php echo $product_name ?></span>
    <br />
    <?php
    if( !empty($price) ) {
    echo $price;
    }
    ?>
    <?php
    if( !empty($addtocart_link) ) {
    ?>
    <br />
    <form action="<?php echo $mm_action_url ?>index.php" method="post" name="addtocart" id="addtocart">
    <input type="hidden" name="option" value="com_virtuemart" />
    <input type="hidden" name="page" value="shop.cart" />
    <input type="hidden" name="Itemid" value="<?php echo ps_session::getShopItemid(); ?>" />
    <input type="hidden" name="func" value="cartAdd" />
    <input type="hidden" name="prod_id" value="<?php echo $product_id; ?>" />
    <input type="hidden" name="product_id" value="<?php echo $product_id ?>" />
    <input type="hidden" name="quantity" value="1" />
    <input type="hidden" name="set_price[]" value="" />
    <input type="hidden" name="adjust_price[]" value="" />
    <input type="hidden" name="master_product[]" value="" />
    <input type="submit" class="addtocart_button_module" value="<?php echo $VM_LANG->_('PHPSHOP_CART_ADD_TO') ?>" title="<?php echo $VM_LANG->_('PHPSHOP_CART_ADD_TO') ?>" />
    </form>
    <br />
    <?php
    }
    ?>

    Hope this helps y’all out. If so, thank me;)

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

This topic contains 10 replies, has 7 voices, and was last updated by  dozza 15 years, 1 month ago.

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