etrfl Posted July 28, 2010 Share Posted July 28, 2010 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 FeaturedCopy your_shop/modules/homefeatured folder to->your_shop/themes/your_theme/modulesOpen 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.tplFind: {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.tplFind: {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.cssOpen your_shop/themes/your_theme/css/global.cssFind: #primary_block form#buy_block span.our_price_display { float: right } Replace with: #primary_block form#buy_block { float: right } Link to comment Share on other sites More sharing options...
tomerg3 Posted July 30, 2010 Share Posted July 30, 2010 I'm not sure what is the purpose of this, Prestashop lets you choose if you want to display prices with or without taxes. Link to comment Share on other sites More sharing options...
etrfl Posted July 30, 2010 Author Share Posted July 30, 2010 I guess I was having troubles with mine then....I could not get it to display with out taxes when I was logged in Link to comment Share on other sites More sharing options...
tomerg3 Posted July 30, 2010 Share Posted July 30, 2010 That can happen if you have a Javascript error on your page. Link to comment Share on other sites More sharing options...
etrfl Posted July 31, 2010 Author Share Posted July 31, 2010 To be honest, Version 1.3, I can not find the option. Link to comment Share on other sites More sharing options...
tomerg3 Posted July 31, 2010 Share Posted July 31, 2010 It's in Customers->Groups-> Edit a group Link to comment Share on other sites More sharing options...
etrfl Posted August 2, 2010 Author Share Posted August 2, 2010 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? Link to comment Share on other sites More sharing options...
tomerg3 Posted August 3, 2010 Share Posted August 3, 2010 it should do it cross site, if it doesn't, you most likely have a javascript error in your site, that is causing it to show prices with tax Link to comment Share on other sites More sharing options...
etrfl Posted August 3, 2010 Author Share Posted August 3, 2010 I don't know where the js error would come from. Until I changed those files I had made no changes from base install Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now