News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

New Add to Cart Button has no title

Started by coramba, October 04, 2012, 05:09:03 AM

Previous topic - Next topic

coramba

New Add to Cart Button is Blank

PLEASE ADVISE - 

Finally got the  ADD TO CART button in category list- to work...ref..     http://forum.virtuemart.net/index.php?topic=103322.msg361747#msg361747

Had to apply the changes to my template, not the VM component but the html/com_virtuemart/ files from the template where you'll find the overriders.

BUT for some reason  the "new" ADD TO CART button in category list Has NO title-- is is small blank rectangle..

There seems to be NO title


<input class="addtocart-button" type="submit" title="Add to Cart" value="Add to Cart" name="addtocart">   (add to cart in product view)

<input class="addtocart-button" type="submit" title="" value="" name="addtocart">  (add to cart in category view)



the orig fix for .. Add to Cart and Qty button  ... is posted here

http://forum.virtuemart.net/index.php?topic=103322.msg361747#msg361747


Can someone assist

Many Thanks

K&K media production

Why you open a new thread? -> http://forum.virtuemart.net/index.php?topic=103322.msg361747#msg361747

Do you have this correct in your override?

<?php // Add the button
$button_lbl JText::_('COM_VIRTUEMART_CART_ADD_TO');
$button_cls ''//$button_cls = 'addtocart_button';
if (VmConfig::get('check_stock') == '1' && !$this->product->product_in_stock) {
     
$button_lbl JText::_('COM_VIRTUEMART_CART_NOTIFY');
     
$button_cls 'notify-button';
?>


            <?php // Display the add to cart button ?>
            <span class="addtocart-button">
                <input type="submit" name="addtocart"  class="addtocart-button" value="<?php echo $button_lbl ?>" title="<?php echo $button_lbl ?>" />
            </span>

            <div class="clear"></div>