VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: schmaly on October 22, 2015, 18:46:33 PM

Title: Text after Price
Post by: schmaly on October 22, 2015, 18:46:33 PM
VM Version: 3.0.10
Joomla 3.4.5

i need to add "Price incl. 10% VAT, excl. Shipping Cost) after each Price Tag.

here you find an price sample: : http://www.schmalys.com/virtue/index.php/gewuerzmischungen/lisas-kr%C3%A4utermeersalz-detail

you can see in attachment 1 how it looks like now... and attachment 2 is the view how it should look like.

I appreciate all you inputs!


Title: Re: Text after Price
Post by: GJC Web Design on October 22, 2015, 19:39:57 PM
add a lang constant in the template over rides and position with css??
Title: Re: Text after Price
Post by: schmaly on October 22, 2015, 19:51:12 PM
thanks for your info.. to be honest.. i can handle css.. but i have no idea how to add a position in template and to do a language overrride.. guess VM is not my shop...
Title: Re: Text after Price
Post by: GJC Web Design on October 22, 2015, 20:18:17 PM
echo '<div class="pricewords">'.vmText::_('MY_TEXT_HERE').'</div>';

then add the MY_TEXT_HERE in the Joomla lang management
Title: Re: Text after Price
Post by: jenkinhill on October 22, 2015, 23:08:54 PM
Or you can use css, similar to this:  http://forum.virtuemart.net/index.php?topic=130778.msg452380#msg452380
Title: Re: Text after Price
Post by: GJC Web Design on October 22, 2015, 23:23:12 PM
Ah ..  these new fangle selectors..... :o
Title: Re: Text after Price
Post by: schmaly on October 23, 2015, 07:23:25 AM
Quote from: jenkinhill on October 22, 2015, 23:08:54 PM
Or you can use css, similar to this:  http://forum.virtuemart.net/index.php?topic=130778.msg452380#msg452380

I really appreciate all your inputs, but i found that this css solution was super easy - and makes me understand better how to customize VM...  :)