You can set in the OC admin to show your price incl. TAX.
Then the big price is shown as incl. tax and below the price excl tax in small font ( see attachment excl-Tax.png )
Is it possible to show this the other way around?
So show the price excl. tax in big font and below the price incl. tax in small font? ( see attachment incl-Tax.png )
So I want to show my customers the lowest price ( excl. Tax ) in big font first and below in small font the incl. Tax price.
Hopefully I make myself clear
Thank you very much for your reply.
Kind regards,
Tanja
Attachments
excl-TAX.png (5.06 KiB) Viewed 3108 times
incl-TAX.png (4.91 KiB) Viewed 3108 times
Just as example, out of this:
Code: Select all
$_['text_tax'] = 'Ex Tax:';
Code: Select all
$_['text_tax'] = '<span style="font-size:18px;color:#F40000;">Ex Tax:</span>';
Good Luck

Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Thank you very much! Your solutions isn't exactly what I want. Please see my topic again.
Thank you very much!
Do not know where your business / webstore is located, but in most of the countries the price incl. Tax is the only important for end consumers.
And if you want to sell into the European Community, this is required by Law: all prices have to show the 'end' price, means Net incl. VAT.
The net price can be displayed - just for useless information.
If you operate the store as B2B, the gross price is useless because only the net price is relevant.
In both cases you have to display how your prices are displayed (with or without VAT and Delivery Costs).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
.. but won't that be overwritten in an update? Have to use VQMOD right?IP_CAM wrote:/shop/catalog/language/english/product/product.php
Just as example, out of this:just make this:Code: Select all
$_['text_tax'] = 'Ex Tax:';
to get, by example, what you see on the image below.!Code: Select all
$_['text_tax'] = '<span style="font-size:18px;color:#F40000;">Ex Tax:</span>';
Good Luck![]()
Ernie
Correct - while updates in OpenCart are neever a good idea (search this forum why).3zzy wrote:.. but won't that be overwritten in an update? Have to use VQMOD right?IP_CAM wrote:/shop/catalog/language/english/product/product.php
Just as example, out of this:just make this:Code: Select all
$_['text_tax'] = 'Ex Tax:';
to get, by example, what you see on the image below.!Code: Select all
$_['text_tax'] = '<span style="font-size:18px;color:#F40000;">Ex Tax:</span>';
Good Luck![]()
Ernie
And if no VQMod is installed (why should it ?), better to code it for the already existing, internal OCMod.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.

You CANNOT display the price in ex. Tax and incl. Tax, by Default.
you would have to install a separate routine, calculating the second Price, i.E., incl.Tax.
---
Regarding the Modification, what I advised you to do, would then be something like this Mod below,
in OcMod Version, I assume, but since I don't have it even installed in my Test OC-2.2 either, I
have no way to know, if it works.
---
@ OSWorX; It would just take a 'decent' default Admin OcMod Manager/Moderator-Tool, to possibly
make it a little more popular. But as long as most users do not know, where to find what, and how or
if it works, to see, what's placed, on files and data, in the DB, and in the Modification Section, and
combined with a 'separate' Error-log, making Live easier for everybody, as long it will be second,
or no Choice, for many. AT least from my point of view, as Un_Coder by Nature and forever too!
It's like with Peter Norton's Commander, it made IBM-PC's polular, and workable, by just about anyone...

But, as you mentioned, it really does not take TWO, to do exactly the same, just in a slightly
different way, and this at the same time and the same place as well. Such is just adding Weight,
and Time, and making things more complicated too. I fully agree on that.
---
Modified according osworx advise!
change_tax_font_size.ocmod.xml
---
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>change Tax Font Size</name>
<code>ipcam_001_ocmod</code>
<version>1.0</version>
<author>Ernie - IP_CAM</author>
<link>http://osworx.net/</link>
<file path="catalog/language/english/product/" name="product.php">
<operation>
<search regex="true"><![CDATA['Ex Tax:';]]></search>
<add position="replace"><![CDATA[
'<span style="font-size:18px;color:#F40000;">Ex Tax:</span>';
]]></add>
</operation>
</file>
</modification>

Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Therefore I would recommend to search for the text only: Ex Tax: and replace that value.IP_CAM wrote:Especially, since 10 white-space-gap's, in the Line, shown here:
$_['text_tax']----------= 'Ex Tax:';
may be different, in their amount of empty 'spaces', in another Subversion OC-2, and if there is
any difference, it will NOT work!
No matter how many spaces or tabs are used

Or (second option) to leave the original value and add a new variable at a position BELOW which exists for sure.
This will then override the former value.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.

der ALZ..., nehm ich mal an!

I have adjusted the OcMod accordingly!
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Users browsing this forum: No registered users and 2 guests