Jump to content

Module Loyalty error loyalty_willcollect is not defined


Blawdi

Recommended Posts

Hello,

 

i have problem with module Loyalty

 

 Uncaught ReferenceError: loyalty_willcollect is not defined loyalty.js:5

 

This error prevents the functioning of selection declinations.

 

Thank you for help

Link to comment
Share on other sites

  • 4 weeks later...

In my case, my custom theme was outdated.

 

I had to copy from the latest default-bootstrap theme (PS 1.6.1) both folders

 

default-bootstrap/modules/loyalty

      and

default-bootstrap/js/modules/loyalty

 

into my own theme (and reapply my former modifications)

 

(Your missing js-variables are defined in default-bootstrap/modules/loyalty/views/templates/hook/product.tpl)

Link to comment
Share on other sites

Just to help other people to google this page, this is a solution to

 

Prestashop 1.6.1

loyalty module: changes in product attributes will not update points on product page

(programme de fidelité: points ne sont pas actualisés selons les déclinaisons du produit.)

 

Check in Firebug, if the above mentioned JavaScript error occurs.

Edited by diap (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...