Post by CEDSine » Mon Nov 24, 2014 1:27 am

Hi all..

How do I remove the "Ex Tax" line in both my featured and product areas?

Thanks!

Sine

Newbie

Posts

Joined
Sat Nov 22, 2014 6:09 am

Post by Solan » Sat Aug 15, 2015 12:54 am

I would also like to know how.. ;)

(Since i almost never sell things to companies i dont want it visible in product listings or featured areas)

Would really appreciate some help how to do this.

Thanks in advance :)

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm

Post by viethemes » Tue Aug 18, 2015 1:41 am

Which theme are you using?
I can make a modification for the default theme.

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by Solan » Tue Aug 18, 2015 3:21 am

Im using the dafault theme :)

If it isnt easy then dont bother.. its not that important yet but would be nice not having on my site. O0

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm

Post by agatha65 » Tue Aug 18, 2015 2:25 pm

In this file catalog/view/theme/default/template/product/product.tpl
find this piece of code:

Code: Select all

            <?php if ($tax) { ?>
            <li><?php echo $text_tax; ?> <?php echo $tax; ?></li>
            <?php } ?>
and remove the tax line

Code: Select all

            <?php if ($tax) { ?>
            
            <?php } ?>

Suppliers Module - XML, CSV, XLS Product Feed Import and Update
Rich Snippets | Facebook Open Graph Meta Tags | WebP Images
Image


User avatar
Active Member

Posts

Joined
Fri Mar 16, 2012 10:18 am
Location - Canada, QC

Post by viethemes » Tue Aug 18, 2015 8:59 pm

Solan wrote:Im using the dafault theme :)

If it isnt easy then dont bother.. its not that important yet but would be nice not having on my site. O0
No need to modify files. You can go to admin > System > Settings > edit your store > tab Option > set Display Prices with Tax to No http://prntscr.com/860po4.

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by Solan » Wed Aug 19, 2015 6:36 am

Thanks Agatha65 ;D

Viethemes, if i do as you say all of my products show without tax until my customers checkout. And thats not what i wanted ;) Thanks anyway.

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm

Post by Solan » Tue Sep 08, 2015 1:04 am

Agatha

I found ecery file but in what file can i find the line for related products? (its bothering me that i dont find it *lol*)

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm

Post by agatha65 » Tue Sep 08, 2015 11:30 am

To remove the tax text and price for related products:
In the same file around line 374 find this:

Code: Select all

                <?php if ($product['tax']) { ?>
                <span class="price-tax"><?php echo $text_tax; ?> <?php echo $product['tax']; ?></span>
                <?php } ?>
and remove the tax section:

Code: Select all

                 <?php if ($product['tax']) { ?>
                
                <?php } ?>

Suppliers Module - XML, CSV, XLS Product Feed Import and Update
Rich Snippets | Facebook Open Graph Meta Tags | WebP Images
Image


User avatar
Active Member

Posts

Joined
Fri Mar 16, 2012 10:18 am
Location - Canada, QC

Post by Solan » Wed Sep 09, 2015 1:34 am

Brilliant :D

Thanks

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm
Who is online

Users browsing this forum: No registered users and 172 guests