30knees Posted June 23, 2017 Posted June 23, 2017 Version 1.7.11 of this module https://addons.prestashop.com/en/sizes-units/5756-basicprice-unit-price.html is compatible with TB 1.0.1. The module calculates the base unit price, e.g. what the 100g price of something is that is sold as a 250g pack.
30knees Posted October 3, 2018 Author Posted October 3, 2018 I believe 1.0.7 broke something in this module. The basic price display now looks like this:
lesley Posted October 3, 2018 Posted October 3, 2018 Are there any console errors for the javascript? Also did you use 1.0.6?
Agossi Posted October 3, 2018 Posted October 3, 2018 Hello, I am the developer of the module. Does 1.0.7 base on the Prestashop 1.7 ? If so the module was adapted to handle the new handling. It does not use JavaScript anymore for the calculation. It now uses special hooks which must be integrated into the template on the places the price shall be displayed. So please try to upgrade the module to the latest version 1.7.22 and make the hook adaptions described in the modules readme. Hope this helps. Regards
Traumflug Posted October 3, 2018 Posted October 3, 2018 Does 1.0.7 base on the Prestashop 1.7 ? Nope. Still based on PS 1.6.1.11.
30knees Posted October 3, 2018 Author Posted October 3, 2018 Oddly enough, now it's working again. Strange ... maybe something with the cache? @Agossi Great to see you here!
Agossi Posted October 4, 2018 Posted October 4, 2018 It could also be a timing issue in the old module version. If the price was not totally available, or caching issue. But you can also upgrade the module to 1.7.21 the last tested version with 1.6. Prestashop
colorful-ant Posted October 6, 2018 Posted October 6, 2018 I have not been using a separate module since TB. I have no problems.
DRMasterChief Posted October 7, 2018 Posted October 7, 2018 I´m using TB 1.0.5 (not a live shop at the moment, still testing....) and there are no problems with standard TB installation, no extra module for base unit price is used: € 21.99 Tax included Shipping excluded € 21.99 per 1 l (its for a 1 liter bottle) € 15.59 Tax included Shipping excluded € 31.18 per 1 l (for a 500ml bottle)
30knees Posted October 7, 2018 Author Posted October 7, 2018 Thanks, both. It doesn't show up for me, though. Neither in Panda nor Community Theme. Does one have to activate it somewhere?
colorful-ant Posted October 7, 2018 Posted October 7, 2018 product price if you have product variants with higher price etc if the base price the same give 0,001 at the base/unitprice
30knees Posted October 7, 2018 Author Posted October 7, 2018 Thanks! That helped troubleshoot the problem. My products all have combinations and no parent product with a price. What I do is have the parent price at 0 and only enter the combination prices. And if the parent price is 0 it doesn't show the price per unit. So, what I would need to do is one of the following: 1. Add a proper parent product and a parent price and reduce the amount of combinations. 2. Add a minimal parent product price of 0.01 and reduce the combination prices by 0.01 so it evens out.
30knees Posted October 7, 2018 Author Posted October 7, 2018 Fiddled around a bit and it seems to be a hassle to have to have a parent product and price. So I'll stick with the basis price module. @Traumflug Would it be possible to have the basis price calculated based on combinations only where there is no parent product?
30knees Posted May 31, 2020 Author Posted May 31, 2020 Hi @Agossi, I noticed that the base price module works for German but not for English. For English, it always shows a base price of 0.00. Do you have an idea how to trouble shoot this? Otherwise the module is still working great, highly recommended. Thanks!
Agossi Posted May 31, 2020 Posted May 31, 2020 Which module version are you using? Are you getting some JavaScript issues? Still using old module or the latest?
30knees Posted June 1, 2020 Author Posted June 1, 2020 Thank you for your quick reply. I'm using 1.7.11. I don't think I'm getting any relevant JavaScript issues. The English and German versions both show me this in the console, but German works: jquery-1.11.0.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. What might affect just one language version? The module works.
30knees Posted June 1, 2020 Author Posted June 1, 2020 Quick update, the latest version solved the problem. Module works brilliantly again. Highly recommended module and great service, too! Thank you, @Agossi!
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