
Originally Posted by
DannyVarley
Hi Guys, I am having an issue with updating the category fields. I belive it has something to do with where it is placing the fields on the page
DISCLAIMER, I mostly do not know what I am on about so please excuse anything that is wrong or otherwise just stupid im just guessing at most stuff here after testing
On the category pages I believe that it places the URI mapping fields just before the last form, as you can see on my screenshot the row highlighted in blue is the mapping fields and this is in the main for so works fine.
However if you restrict the category to only certain product types then it places the URI mapping fields inside the wrong form as the last form on the page is the currently restricted product types, So when the category is restricted to product types it does not let the URI mapping work
I hope this makes sense and you can help me figure out a way to solve! Basically when the category is restricted to certain product types the URI mapping will not update as it is not in the main form.
Looks like somewhere around line 369 of admin/includes/ceon_uri_mapping_javascript.php change:
Code:
var place = classList[classList.length - 1];
To:
Code:
var place = classList[0];
Bookmarks