| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
Altered cart tools problem
I know AC is no longer with us but hopefully someone has a clue..
simple problem i'm sure and its the only thing about the add-on that doesn't work now but when I click the checkbox above the column of checkboxes (to select all), it doesn't select all. Hasn't worked for several versions. Not sure if its a php thing or xcart thing. Any clues on what to look for? Its not working on any of the tables for the abandoned carts, sent, reminders, logged errors, etc. Must be a function somewhere that needs fixing.
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#2
|
|||||||
|
|||||||
Re: Altered cart tools problem
Possibly the 'select all' javascript code just needs tweaking/updating to support a later jQuery version. Drop me a line if you want me to take a look.
Check your browser console when the error occurs.
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||
|
|||||||
Re: Altered cart tools problem
Uncaught TypeError: $(...).datepicker is not a function
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#4
|
|||||||
|
|||||||
Re: Altered cart tools problem
I don't know anything about the AC tools, but try adding this code before the datepicker script in question...
Quote:
Quote:
__________________
xcartmods.co.uk |
|||||||
#5
|
|||||||
|
|||||||
Re: Altered cart tools problem
I dont think its the datepicker that controls that, it would be the date picker above it that i rarely use. The code for that box is:
Code:
it says its in admin/checkout-one.php but i dont see it so that must be calling it from another file Code:
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#6
|
|||||||
|
|||||||
Re: Altered cart tools problem
One JS error can stop other JS code working, so may not be related to the checkout.
PM me your URL and I can take a quick look at the checkout (or wherever the error occurs).
__________________
xcartmods.co.uk |
|||||||
#7
|
|||||||
|
|||||||
Re: Altered cart tools problem
think i found it in admin.tpl
Code:
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#8
|
|||||||
|
|||||||
Re: Altered cart tools problem
If i change the 'checked' : false)}); to true, it lets me select all, but it doesnt toggle it off if I uncheck it.
__________________
4.7.x xcart store Business 5.4xx |
|||||||
#9
|
|||||||
|
|||||||
Re: Altered cart tools problem
Might need to use .prop instead of .attr
https://learn.jquery.com/using-jquery-core/faq/how-do-i-check-uncheck-a-checkbox-input-or-radio-button/
__________________
xcartmods.co.uk |
|||||||
|
#10
|
|||||||
|
|||||||
Re: Altered cart tools problem
changing that doesn't fix the toggle but it still works to check them. thanks.
__________________
4.7.x xcart store Business 5.4xx |
|||||||
|
|||
X-Cart forums © 2001-2020
|