Author Topic: Multy variant dropdown on change, error updating page modal + 404 error  (Read 381 times)

jordantsap

  • Beginner
  • *
  • Posts: 36
  • Skype Name: 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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4246
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
disable product dynamic update in the Virtuemart config.
It's a little slower but should work

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9496
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jordantsap

  • Beginner
  • *
  • Posts: 36
  • Skype Name: jordantsap
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9496
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jordantsap

  • Beginner
  • *
  • Posts: 36
  • Skype Name: 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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9496
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation