Translation button Virtuemart
May 25, 2015 8:24 am by carmelo.brischetto
May 25, 2015 8:24 am by carmelo.brischetto
Hi,
I open a new thread regarding this problem:
problem-with-ioncube-gtranslate-pro-t4162.html
I added the class in the template, but Inothing changes.
The virtuemart code via firebug, regarding "add to cart", is this:
<span class="addtocart-button tval btn btn-large btn-primary">
<input class="addtocart-button" type="submit" title="Aggiungi al Carrello" value="Aggiungi al Carrello" name="addtocart">
</span>
This is the virtuemart original code:
<span class="addtocart-button tval btn btn-large btn-primary">
<?php echo shopFunctionsF::getAddToCartButton($this->product->orderable); ?>
</span>
Where should I add the "tval" code?
Thanks.
Re: Translation button Virtuemart
May 25, 2015 4:13 pm by Edvard
May 25, 2015 4:13 pm by Edvard
You need to add it to input tag instead of span tag.
so it looks like this:
<input class="addtocart-button tval" type="submit" title="Aggiungi al Carrello" value="Aggiungi al Carrello" name="addtocart">
You need to change it in getAddToCartButton PHP function which generates the button.
Thanks!
SIMILAR TOPICS
German translation changes the century | Dec 31, 2018 3:06 pm | Replies: 1 | Post by: adrievdl |
Graphic translation for every language is missing | Dec 19, 2018 7:54 am | Replies: 1 | Post by: Daryl Dixon |
How to remove mobile Language Select Button transparency | Dec 5, 2018 10:06 pm | Replies: 10 | Post by: JeffTR |
Problem of translation in my website | Dec 8, 2018 12:15 pm | Replies: 1 | Post by: Ibrahim |
translation works only with ctrl + f5 in browser help please | Nov 15, 2018 1:10 pm | Replies: 1 | Post by: milangomes |