News:

Looking for documentation? Take a look on our wiki

Main Menu

Multy variant dropdown on change, error updating page modal + 404 error

Started by jordantsap, March 26, 2020, 02:11:22 AM

Previous topic - Next topic

jordantsap

Joomla! 3.9.16
VirtueMart 3.6.10 10211
php 7.3.15
mysql database version 5.6.39

I have a multy variant custom field with 3 options.
When i choose any option from the dropdown, the spiner appears that the page is loading but a modal is shown which says error updating page and when i click to yes button the page redirects to 404 page VirtueMart product not found.
I have tryed several suggestions/solutions that i found here as display stock level or changing <div>"productdetails-view productdetails product-container"</div> classes order but nothing changed. The error is also appears in protostar template.

Any suggestions???

Studio 42

disable product dynamic update in the Virtuemart config.
It's a little slower but should work

GJC Web Design

I personally prefer the manual reload as often when ajax changed it happens so subtly that the user doesn't even notice something happened/changed
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jordantsap

Quote from: GJC Web Design on March 26, 2020, 10:55:59 AM
I personally prefer the manual reload as often when ajax changed it happens so subtly that the user doesn't even notice something happened/changed
So what do you suggest?

GJC Web Design

if u want ajax reloading then u need to trace further why the call is a 404 or error

if not then switch off the ajax as ST 42 suggested
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jordantsap

Either way the redirection says the product does not exist.

Even if i disabled sef.

The child product is published but if i go to the child product admin page and click the link of that child product to open in thefront,
it still says product not found, isnt that weird?? What are your thoughts for that??

GJC Web Design

who can say ...  we can't see your config or your code..

do some digging .. set up up another product example .. go thru your setup, DB entries and check EVERYTHING ...
if correctly configured it works
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation