Jump to content

Help for those not wanting to display price with taxes


etrfl
 Share

Recommended Posts

So this is my first mod I have done so it may not be the "right" way but it works. As far as I can tell it does not cause any errors. This will change the display on featured, product list, and the product page. All prices should match font, size, color. Hope someone else can use it!

******Please make a backup of the files before you change them just in case.******

Home Featured
Copy your_shop/modules/homefeatured folder

to->

your_shop/themes/your_theme/modules

Open homefeatured.tpl

Find:

{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}



Replace with:

{if !$priceDisplay}{convertPrice price=$product.price_tax_exc}{/if}



Product list:
Open: your_shop/themes/your_theme/product-list.tpl

Find:

{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}



Replace with:

{if !$priceDisplay}{convertPrice price=$product.price_tax_exc}{/if}



Product Page:
Open: your_shop/themes/your_theme/product.tpl

Find:

       {if !$priceDisplay || $priceDisplay == 2}{convertPriceprice=$product>getPrice (true, $smarty.const.NULL)}
                       {if $tax_enabled}{l s='tax incl.'}{/if}
               {/if}
               {if $priceDisplay == 1}
{convertPrice price=$product->getPrice(false, $smarty.const.NULL)}
                       {if $tax_enabled}{l s='tax excl.'}{/if}
               {/if}

               {if $priceDisplay == 2}


{convertPrice price=$product->getPrice(false, $smarty.const.NULL)} {l s='tax excl.'}
               {/if}



Replace with:

               {if !$priceDisplay}
{convertPrice price=$product->getPrice(false, $smarty.const.NULL)}      
               {/if}





Global.css
Open your_shop/themes/your_theme/css/global.css

Find:

#primary_block form#buy_block span.our_price_display   { float: right }



Replace with:

#primary_block form#buy_block { float: right }

Share this post


Link to post
Share on other sites

sorry for the delay. Thanks for your help as well.

Editing customers groups, only changes the price display in the order summary. What if I want to show customers the price with out taxes as soon as they log in?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More