The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #11  
Old 06-20-2012, 01:54 PM
Matt Ecwid's Avatar
Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default


Quote:
Originally Posted by The Clean Machine View Post
I am wanting to display "Inc VAT" or "+ VAT" beside the product prices, everywhere they show.

Something like the attached image. Can this be done via the CSS, or somewhere else?

Can someone please advise on this?
Hi,

If I get it right, you want to add the 'Inc VAT' to the product prices everywhere except for invoices. So the way Slice suggested (with changing the suffix in currency format) is not suitable for you, is it? If so, you can suggest a workaround - displaying 'Inc VAT' text by means of custom CSS coding. In order to do it, you will need to add the following CSS code to your custom CSS theme:
Code:
div.ecwid-productBrowser-price:after,
div.ecwid-productBrowser-cart-totalAmount:after,
div.ecwid-productBrowser-cart-subtotalAmount:after {
  content: " Inc VAT";
}
As far as I can see, it does exactly what you illustrate on the screenshot. However, please note that this approach may have some limitations in IE browsers.
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
The Following User Says Thank You to Matt Ecwid For This Useful Post:
The Clean Machine (06-20-2012)
  #12  
Old 06-20-2012, 04:32 PM
The Clean Machine's Avatar
The Clean Machine The Clean Machine is offline
 
Join Date: Apr 2012
Posts: 6
Thumbs up Resolved

This looks good Mak,

But I am actually going to use +VAT on the prices so the "Total" should not have this.

But sorted with the below code -

div.ecwid-productBrowser-price:after,
div.ecwid-productBrowser-cart-subtotalAmount:after {
content: " + VAT";
font-size: 12px;
}

div.ecwid-productBrowser-cart-totalAmount:after, {
content: " Inc VAT";
font-size: 12px;
}

Also re-sized the text to make it look a bit better

Thanks for your help...
The Following User Says Thank You to The Clean Machine For This Useful Post:
Matt Ecwid (06-21-2012)
  #13  
Old 06-21-2012, 06:23 AM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default

That's great! Also, you can change a color of that text. It would look like this:
Code:
div.ecwid-productBrowser-price:after,
div.ecwid-productBrowser-cart-subtotalAmount:after {
  content: " + VAT";
  font-size: 12px;
  color: grey;
}
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:24 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.