Jump to content

URL Not Updating (Undefined error) when Selecting Attribute and Cart not Refreshing


jackhcr

Recommended Posts

Hoping someone can help. 

 

My website here - 

 

https://labelsexpress.co.uk/plain-labels/direct-thermal-labels/direct-thermal-labels-freezer/100mm-x-150mm-direct-thermal-labels-1000-freezer-adhesive#/25-core_size-25mm

 

When I select a different attribute I get undefined error and the url does not update as it should. 

The cart also does not auto refresh.

 

Can anyone help?

Link to comment
Share on other sites

important, post your prestashop version and php version in all posts, please add here.

This is Prestashop Checkout (ps_checkout) front-office SDK throwing JS errors on every page because it expects an element called:

#ps_checkout-loader

…but your theme does not contain that element.

When that JS crashes, it stops all subsequent JS execution, which breaks:

  • product attribute selection
  • add-to-cart refresh
  • URL updates
  • any AJAX product action

Quick instructions for accessing Developer Tools

How to enable PrestaShop debug mode and perform basic analysis

 

Edited by El Patron (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...