ukbaz Posted October 19, 2010 Share Posted October 19, 2010 Hi Am trying to get product feed from feeder module to display prices excluding tax.This seems to be set in rss.php file as below - what do i need to change to price items excluding tax.ThanksBaz echo "\t\t\t<title><![CDATA[".$product['name']." - ".html_entity_decode(Tools::displayPrice(Product::getPriceStatic($product['id_product']), $currency), ENT_COMPAT, 'UTF-8')." ]]></title>\n"; Link to comment Share on other sites More sharing options...
MrBaseball34 Posted October 19, 2010 Share Posted October 19, 2010 Change it like this: getPriceStatic($product['id_product'], false) The second parameter is $usetax, if you set to false, it will ignore tax. It defaults to true so it will include tax if youfail to provide the parameter. 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