Author Topic: How do you hide the Add to Cart text?  (Read 1673 times)

121

  • Beginner
  • *
  • Posts: 7
How do you hide the Add to Cart text?
« on: June 11, 2010, 18:41:28 pm »
I've replaced the add-to-cart_blue.gif with another image but the Add to Cart text is displaying over it. How do I delete/hide this?

Thanks

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10320
  • VirtueMart Version: 3+
Re: How do you hide the Add to Cart text?
« Reply #1 on: June 11, 2010, 18:49:52 pm »
addtocart_form.tpl

<input type="submit" class="<?php echo $button_cls ?>" value="<?php echo $button_lbl ?>" title="<?php echo $button_lbl ?>" />

Backup your file first and remove this part

value="<?php echo $button_lbl ?>"



You could also just remove the text from the language file.
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

balero98

  • Beginner
  • *
  • Posts: 7
Re: How do you hide the Add to Cart text?
« Reply #2 on: October 05, 2011, 06:28:29 am »
Thank you for this!