KlingstedtBros Posted March 29, 2019 Share Posted March 29, 2019 I'm having an issue on a new shop, where the price does not update after choosing a product attribute. If you add the product to the cart, it has the correct price. Interestingly on Chrome and Edge the price never changes. On Firefox the price updates to the correct price for about two seconds before rubberbanding back to the original base price. I've turned on all the debug options, no change. I've gone back to the default template, no change. I've cleared the site cache, no change. I don't know if this is related, but the console gives me the following warnings: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ core.js:39:74593 Use of Mutation Events is deprecated. Use MutationObserver instead. handler.js:73:22 Source map error: request failed with status 404 Resource URL: https://vintagegraphix.com/themes/core.js Source Map URL: core.js.map core.js is on the server at the location shown, so I don't know why I'm getting a 404. Any help would be greatly appreciated. I was hoping to go live today for a product show this weekend. PrestaShop version: 1.7.5.1Shop URL: http://vintagegraphix.com/Server information Linux #1 SMP Wed May 2 07:43:19 EDT 2018 x86_64Server software version: ApachePHP version: 5.6.36Memory limit: 128MMax execution time: 30MySQL version: 5.6.39-cll-lveMySQL server: localhost Missing files (2) INSTALL.txt docker-compose.yml Link to comment Share on other sites More sharing options...
Rodrigo B Laurindo Posted March 29, 2019 Share Posted March 29, 2019 Hello @KlingstedtBros, 23 minutes ago, KlingstedtBros said: I don't know if this is related, but the console gives me the following warnings: They are really just warnings? Nothing RED? If you have javascript errors, you have to solve them and probably your problems with price updates will be solved. Link to comment Share on other sites More sharing options...
KlingstedtBros Posted March 29, 2019 Author Share Posted March 29, 2019 They are just warnings in yellow. Also, I have made no javascript modifications, and I have verified that the file it's looking for is there, and it's the original file. Link to comment Share on other sites More sharing options...
Rodrigo B Laurindo Posted March 29, 2019 Share Posted March 29, 2019 Do you have something in your php error log? Link to comment Share on other sites More sharing options...
KlingstedtBros Posted March 29, 2019 Author Share Posted March 29, 2019 Yes: PHP Notice: Undefined offset: 1 in /vintagegraphix.com/var/cache/prod/smarty/compile/c9/a0/56/c9a0560b17e0be85bedec438b79e918066ff02e6_0.file.invoice.product-tab.tpl.php on line 157 Link to comment Share on other sites More sharing options...
Rodrigo B Laurindo Posted March 29, 2019 Share Posted March 29, 2019 Could you clear smarty cache and temporarialy disable it, so reproduce the error and look again at the php error log? Link to comment Share on other sites More sharing options...
KlingstedtBros Posted March 29, 2019 Author Share Posted March 29, 2019 Smarty disabled and cache cleared. Error still occurring. No change in error log. Link to comment Share on other sites More sharing options...
Rodrigo B Laurindo Posted March 29, 2019 Share Posted March 29, 2019 Can you provide me a link in your store with a product with different prices per combination? Link to comment Share on other sites More sharing options...
KlingstedtBros Posted March 29, 2019 Author Share Posted March 29, 2019 https://vintagegraphix.com/services/5-9-photo-colorization-service.html This is a simple one with only one attributes dropdown. Every item in the store has attribute combinations, and the error is persisting across them all. Link to comment Share on other sites More sharing options...
Rodrigo B Laurindo Posted March 29, 2019 Share Posted March 29, 2019 It seems you have an issue with Anvanto product fields module. Maybe they can help you with your problem. Link to comment Share on other sites More sharing options...
KlingstedtBros Posted March 29, 2019 Author Share Posted March 29, 2019 Thanks for your help rblaurin. I activated "Disable non PrestaShop modules" and "Disable All Overrides" under performance before posting here and the problem persisted, but upon manually going and disabling the module, the pricing is working properly again. I've reached out to Anvanto for support. Link to comment Share on other sites More sharing options...
popidanandrei@pitnet Posted March 21, 2020 Share Posted March 21, 2020 Hello, I have a similar issue. The product price is not updated if i trrigered an attributes dropdown menu, iven if i have only 2 attributes on the list. If i press F5 (refrashing the page) the price is updated. It seems that the issue is theme related because if i put the default theme it works perfect. I have prestashop 1.7.6.3 Could you please help me with an advice? Link to comment Share on other sites More sharing options...
grzesiek_wojcik Posted October 29, 2020 Share Posted October 29, 2020 I had the same problem in version 1.7.6.5 - it turned out that the template did not have an item with the class ".row" over an item with the class ".product-prices" and therefore Prestashop did not update the price. In the next PS version it is already done in a different way. 3 Link to comment Share on other sites More sharing options...
Adkeyz Posted November 21, 2020 Share Posted November 21, 2020 (edited) Hi Everyone, I hope you are well I have a very weird issue with attribute for my website. When i am choosing an attribute the price is disappearing at all i need to refresh manually the page to get it appeared... Any solution ? please find the URL below https://shop.helite.co.il/דף-הבית/65-528--.html#/66--_ I am on Prestashop version 1.7.2 Best regards, Johan Edited November 21, 2020 by Adkeyz (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted November 22, 2020 Share Posted November 22, 2020 4 hours ago, Adkeyz said: I have a very weird issue with attribute for my website. When i am choosing an attribute the price is disappearing at all i need to refresh manually the page to get it appeared... Any solution ? please find the URL below Thats caused by module "echaences" which is settings a 0 opacity for the price Link to comment Share on other sites More sharing options...
popidanandrei@pitnet Posted November 22, 2020 Share Posted November 22, 2020 (edited) Hello, I have a theme that i think have a bug related updating the roduct price when an attribute is changed. If i press F5 (refrashing the page) the price is updated. It seems that the issue is theme related because if i put the default theme it works perfect (i tried also other thems and works also). I reported to developer but i got no help from them. (i like the look of this theme and only this thing is wrong) Could you please help me with an advice? I have prestashop 1.7.6.3 The site URL is this: https://costesti.pizzaayo.ro/index.php?id_product=142&id_product_attribute=72&rewrite=pizza-rustica&controller=product#/41-dimensiune-40_cm/46-extra_legume-normal/49-extra_carne-normal/51-extra_margine_cascaval-cu_extra_margine_cascaval/53-extra_mozzarella-cu_extra_mozzarella Thanks, Andrei Edited November 22, 2020 by popidanandrei@pitnet (see edit history) Link to comment Share on other sites More sharing options...
Folber Posted January 20, 2021 Share Posted January 20, 2021 On 10/29/2020 at 10:53 AM, grzesiek_wojcik said: I had the same problem in version 1.7.6.5 - it turned out that the template did not have an item with the class ".row" over an item with the class ".product-prices" and therefore Prestashop did not update the price. In the next PS version it is already done in a different way. Thank you very much ! I have spent so much time before founding your post that fixes my issue ! Big question : how have you troubleshot it and found the root cause ? I am still not able to find the link between .row and the price refresh Link to comment Share on other sites More sharing options...
Daiar Posted August 29, 2021 Share Posted August 29, 2021 On 10/29/2020 at 6:53 AM, grzesiek_wojcik said: I had the same problem in version 1.7.6.5 - it turned out that the template did not have an item with the class ".row" over an item with the class ".product-prices" and therefore Prestashop did not update the price. In the next PS version it is already done in a different way. Thanks!!! Link to comment Share on other sites More sharing options...
spiralarts Posted February 3, 2022 Share Posted February 3, 2022 On 10/29/2020 at 11:53 AM, grzesiek_wojcik said: I had the same problem in version 1.7.6.5 - it turned out that the template did not have an item with the class ".row" over an item with the class ".product-prices" and therefore Prestashop did not update the price. In the next PS version it is already done in a different way. Yep that was it. THANKS Link to comment Share on other sites More sharing options...
Bocco Posted October 6, 2022 Share Posted October 6, 2022 On 11/22/2020 at 4:46 AM, JBW said: Thats caused by module "echaences" which is settings a 0 opacity for the price Can you please guide me how to fix this? I have products with approx 300 combinations. When selecting attribute, price dissapear. If I refresh page with f5 price are shown again. I have ps 1.7.8.1 Link to comment Share on other sites More sharing options...
JBW Posted October 6, 2022 Share Posted October 6, 2022 Not sure if you have the same module active or it's caused by something else!? To solve it you can overrule the CSS by putting same into your themes custom.css file with 100% opacity instead. Link to comment Share on other sites More sharing options...
luong truong tho Posted September 18, 2023 Share Posted September 18, 2023 I also encountered a similar issue where the product prices don't change when selected, but they display the correct price when added to the cart. I tried using the default interface, but it didn't work either. This issue occurred when I added a second language to the website. I tested it, and it's indeed caused by adding the second language. I would appreciate any suggestions regarding this issue. Thank you. 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