Jump to content

Unable to delete specific prices


Lunil

Recommended Posts

Hi there,

I'm having a problem with specfic prices in the backoffice. If I can manage to add specific prices on all products I'm however unable to delete them. The "Trash Icon" is there but when I click on it nothing happens. When I look at the debug mode, here's what I get:

Uncaught ReferenceError: delete_price_rule is not defined
    at HTMLAnchorElement.<anonymous> (products.js:758)
    at HTMLTableElement.dispatch (jquery-1.11.0.min.js:3)
    at HTMLTableElement.r.handle (jquery-1.11.0.min.js:3)

Product.js reffers to:

// Bind to delete specific price link
	this.bindDelete = function(){
		$('#specific_prices_list').delegate('a[name="delete_link"]', 'click', function(e){
			e.preventDefault();
			if (confirm(delete_price_rule))
				self.deleteSpecificPrice(this.href, $(this).parents('tr'));
		})
	};

I'm using Prestashop 1.6.1.11. Anyone knows how to fix this ?

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...