Anonym Posted January 21, 2015 Share Posted January 21, 2015 Hello I upgrade to prestahop 1.6.0.9 my store and now I can't remove product combinations . When I click on delete button I get a message to confirm and after I confirm nothing happens . I have inspected the button and the link looks like this https://www.mysite.com/admin/index.php?controller=AdminProducts&id_product_attribute=3181&deleteconfiguration&token=9cdc961070aa050582371351e49b8c15 It has amp; strings in the url for an unknown reason . I have tried to remove those strings and access the url but it keeps redirecting me to product listing page without any message . Also tried to replace the whole admin folder with the default one from ps 1.6.0.9 theme but I have exactly the same issues . Does anyone have any ideas why is not working ? Thanks Link to comment Share on other sites More sharing options...
Anonym Posted January 21, 2015 Author Share Posted January 21, 2015 If I remove the amp; from url then I get this error message in console {"status":"error","message":"You do not have permission to delete this."} Link to comment Share on other sites More sharing options...
Anonym Posted January 21, 2015 Author Share Posted January 21, 2015 If I modify live the url and remove the & then the combination is deleted . Where is that url generated in what tpl file ? I need to remove the & from that . Link to comment Share on other sites More sharing options...
Anonym Posted January 21, 2015 Author Share Posted January 21, 2015 I saw that the URL is coming from <a href="{$href|escape:'html':'UTF-8'}"{if isset($confirm)} onclick="if (confirm('{$confirm}')){ldelim}return true;{rdelim}else{ldelim}event.stopPropagation(); event.preventDefault();{rdelim};"{/if} title="{$action|escape:'html':'UTF-8'}" class="delete"> <i class="icon-trash"></i> {$action|escape:'html':'UTF-8'} </a> I think that there is something with a javascript file . Anyone has any idea ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now