ce7 Posted October 21, 2018 Share Posted October 21, 2018 @raiwa hi again, Quick update, after I post here, I quickly installed another specials addon to do the test, and found out that the tax rate did work, but it did have problem to show the right rate at first, so there are few default special products, need to get into categories, and refresh the tax rate, then it will show up the correct one, if no refresh, it will stay as 17% instead of 10% or 7% or tax free... Thanks you! Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted October 21, 2018 Author Share Posted October 21, 2018 (edited) Hello Lyn @ce7, Not sure if you have this solved now. I just checked on my test store and all works as it should. I created a second tax rate and tax class with 10% and applied it to one special product. On specials.php I see 7% for the products with 7% tax class applied and 10% on the product I applied the 10% tax class. If you apply 2 tax rates on the same tax class, of course you will get the sum of both showing on a product with this tax class. Edited October 21, 2018 by raiwa ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted October 22, 2018 Share Posted October 22, 2018 @raiwahi Rainer, Thank you very much for reply. Yes I have resolve the problem, not sure why, I did not add two tax on same product, but i have seperated tax rate, each product can choose 10% or 7% or no tax, not able to choose 2 tax rate at the same time... The default of my installation seems just add 2 tax rate as 17%, but when I go to renew the 5 default products and change the tax rate, refresh, then it works as it should be 10% or 7% as I set up.... Thanks! Lyn Quote Link to comment Share on other sites More sharing options...
micke salloum Posted November 7, 2018 Share Posted November 7, 2018 Hi Thanks for a great contribution. I am facing a problem. In my store there are 2 currencies. When i activate the Show Tax below price, it shows that tax but the product price is wrong. I have SEK as a default currency and when i switch from SEK to EURO the product price value shows the SEK price but just changes the Currency symbol to Euro. Please see the image below. Thanks for help in advance. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted November 8, 2018 Author Share Posted November 8, 2018 Hello @micke salloum, Is it possible that you have a modification/customization applied to the "format" and/or "display_price" function in includes/classes/currencies.php. If yes, then you have to apply /merge these modifications with the class extension in the st_tax_below_price.php module. See there at the end: if (class_exists('currencies')) { class currencies_mod extends currencies { .......... Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
micke salloum Posted November 8, 2018 Share Posted November 8, 2018 3 hours ago, raiwa said: Hello @micke salloum, Is it possible that you have a modification/customization applied to the "format" and/or "display_price" function in includes/classes/currencies.php. If yes, then you have to apply /merge these modifications with the class extension in the st_tax_below_price.php module. See there at the end: if (class_exists('currencies')) { class currencies_mod extends currencies { .......... Thanks for the reply. Attached here is the currencies.php file in the includes/classes Can you take a look and suggest the modifications? Thanks in advance currencies.php Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted November 9, 2018 Author Share Posted November 9, 2018 Hello Micke @micke salloum, As I suspected your currency class is heavy modified. I'm sorry I can't merge the code without knowing what else is part of these modifications and without access to your whole store. You should ask the developer who applied these changes to do it, if you didn't do it yourself. Best regards Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted September 22, 2019 Author Share Posted September 22, 2019 Uploaded Update for Phoenix: Display Tax Info V3.5 Changelog Version 3.5 - updated instructions for Phoenix - added modified options attributes product info module. (Supplied files are for Phoenix 1.0.2.x) - added support for addons options images and QTPro. valquiria23 and Heatherbell 2 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥Heatherbell Posted September 22, 2019 Share Posted September 22, 2019 (edited) @raiwa Sorry, don't know what I've done wrong - just installed on Phoenix and get: Warning: Declaration of currencies_mod::display_price($products_price, $products_tax, $quantity = 1, $show_tax_info = true) should be compatible with currencies::display_price($products_price, $products_tax = 0, $quantity = 1) in //htdocs/includes/modules/store/st_tax_below_price.php on line 198 Edited September 22, 2019 by Heatherbell Quote Link to comment Share on other sites More sharing options...
MITCH70 Posted September 22, 2019 Share Posted September 22, 2019 @raiwa Works perfectly on my Phoenix 1.0.2.5 Maybe possibility for next version to add text also in attributes drop down list. Quote Link to comment Share on other sites More sharing options...
♥Heatherbell Posted September 22, 2019 Share Posted September 22, 2019 @raiwa Sorry, no problem with your add-on, problem with my currencies.php Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 23, 2019 Author Share Posted September 23, 2019 22 hours ago, MITCH70 said: Maybe possibility for next version to add text also in attributes drop down list. In drop downs text formatting (html tags) doesn't work. That's why it is removed there. WIthout formatting it doesn't look nice and I believe that custormers are smart enough to understand that the same tax like shown in all other places will apply also on attributes prices. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted November 20, 2019 Author Share Posted November 20, 2019 Uploaded Update for Phoenix flagged for Phoenix: Display Tax Info Phoenix Changelog Version 4.0 - updated for Phoenix 1.0.3.x - moved currencies_mod class extension into siteWide hook. This allows to use it also for modularized shopping cart and other modularized pages with content module call in data section of the page. ArtcoInc, valquiria23 and MITCH70 3 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
infobroker Posted November 27, 2019 Share Posted November 27, 2019 Habe auf dem Webserver und lokal auf xampp OSCOM CE Phoenix v1.0.4.0 installiert PHP-Version bei Beiden: 7.2.9 Habe dann die Contrib: https://apps.oscommerce.com/6ONOh&display-tax-info-phoenix hochgeladen Nachdem ich das Modul aktviert hatte, bekamm ich eine weiße Seite mit der Fehlermeldung “Warning: Use of undefined constant MODULE_STORE_TAX_BELOW_PRICE_PAGES - assumed 'MODULE_STORE_TAX_BELOW_PRICE_PAGES' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\Shop13\includes\hooks\shop\siteWide\priceTax.php on line 31Warning: Use of undefined constant MODULE_STORE_TAX_BELOW_PRICE_PAGES - assumed 'MODULE_STORE_TAX_BELOW_PRICE_PAGES' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\Shop13\includes\hooks\shop\siteWide\priceTax.php on line 34” Nachdem ich das Modul aktviert hatte, bekamm ich eine weiße Seite mit der Fehlermeldung “Fatal error: Uncaught Error: Class 'currencies_mod' not found in C:\xampp\htdocs\Shop13\includes\hooks\shop\siteWide\priceTax.php:45 Stack trace: #0 C:\xampp\htdocs\ Shop13\includes\classes\hooks.php(133): hook_shop_siteWide_priceTax->listen_injectAppTop(Array) #1 C:\xampp\htdocs\ Shop13\includes\application_top.php(413): hooks->call('siteWide', 'injectAppTop') #2 C:\xampp\htdocs\ Shop13\product_info.php(13): require('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\ Shop13\includes\hooks\shop\siteWide\priceTax.php on line 45” Was läuft bei mir falsch? Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted November 27, 2019 Author Share Posted November 27, 2019 Hallo Erich @infobroker, Phoenix 1.0.4.0 introduced changes in the hooks registration in application_top.php which break several addons. As far as I know this will be fixed in the next Phoenix update. For now a fast fix is to use the includes/application_top.php from the previous Phoenix 1.0.3.0 version valquiria23 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted January 3, 2020 Author Share Posted January 3, 2020 Hello Lyn @ce7, Which versions (Phoenix/OsC, Tax info) are we talking about. The code you provide dosn't seem to be the complete code. Please post ALL the changes (original AND modified code). Anyway, as far as I can see, this is not related to the Display tax info module. Best regards Rainer Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
gritsop Posted January 14, 2020 Share Posted January 14, 2020 On 11/27/2019 at 3:06 PM, raiwa said: Hallo Erich @infobroker, Phoenix 1.0.4.0 introduced changes in the hooks registration in application_top.php which break several addons. As far as I know this will be fixed in the next Phoenix update. For now a fast fix is to use the includes/application_top.php from the previous Phoenix 1.0.3.0 version Hello Rainer. For the contribution to be installed on Phoenix 1.0.4.0. where should we add the "includes/application_top.php" declaration? Thank you in advance. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 14, 2020 Author Share Posted January 14, 2020 2 minutes ago, gritsop said: Hello Rainer. For the contribution to be installed on Phoenix 1.0.4.0. where should we add the "includes/application_top.php" declaration? Thank you in advance. There is nothing to add. Just follow the instructions. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted February 25, 2020 Author Share Posted February 25, 2020 Tested and working with Phoenix 1.0.5.1 Display Tax Info Phoenix ecartz 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted February 29, 2020 Author Share Posted February 29, 2020 You can get the price without tax like this: $box_price_net = $currencies->display_price($random_product['products_price'], 0); ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted March 1, 2020 Author Share Posted March 1, 2020 Where, why? Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted March 1, 2020 Author Share Posted March 1, 2020 The tax info is included through the div class: $format_string .= '<div class="taxinfo"><small>'; duplicate and rename the format function and remove the class. Or remove this div class by javascript where you do not wish to showthe tax info. I'm sorry. I can't give further support for this customization within this support thread. ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Gold1s Posted October 8, 2020 Share Posted October 8, 2020 Could you update mod to newest phoenix? Thank you. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted October 8, 2020 Author Share Posted October 8, 2020 It's on my list. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted October 8, 2020 Author Share Posted October 8, 2020 1 hour ago, Gold1s said: Could you update mod to newest phoenix? Thank you. I just checked and found what I already supposed: The tax info hook has no influence on the shown price, it only shows the tax info text and tax percentatge amount below the price. I tested it on my Phoenix 1.0.7.9 develop store and all works correct, it only requires the admin cfg module to be updated. Please use this one: cfgm_store.php If you want to do something extra, move the shop hook to templates/default/includes/hooks. But this is not required to work properly. I believe what you reported has to do with your tax setup. Please explore your admin tax settings and tax zone setup. Gold1s 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.