Post by BrandonBerner » Mon Jul 13, 2015 7:42 pm

OC: 2.0.5.1
VQ: 2.5
In Admin Panel>Products>When I click the Model Filter to decent the model numbers, it does not do so correctly.

Example:

42
41
40
4
39
38
37
36
35
35
33
32
31
30
3
29
28
27


How can you make it:
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28

Thanks :)

PS: Is there an extension which adds the next Model Number automatically inside "Add Product>Data>Model"

Active Member

Posts

Joined
Sat Dec 15, 2012 4:49 am

Post by IP_CAM » Wed Jul 15, 2015 3:27 am

The ONLY simple way to avoid such, would be, to have a required 3-digit VALUE, set by default, and so starting with 001. At least, if you do NOT surpass MAX Number 999, then, it would start again, some day, just further up! :D

BUT, to be honest, I have no Idea, where that kind of 'counting-definement' takes Place, in OC, possibly, someone else does... 8)
Good Luck
Ernie
hitline.info/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by BrandonBerner » Wed Jul 15, 2015 12:16 pm

IP_CAM wrote:The ONLY simple way to avoid such, would be, to have a required 3-digit VALUE, set by default, and so starting with 001. At least, if you do NOT surpass MAX Number 999, then, it would start again, some day, just further up! :D
hitline.info/shop/
Thanks for the little tweak! Ill do this and see how it goes. And if someone knows of a module that does this better, I will be waiting :)

Active Member

Posts

Joined
Sat Dec 15, 2012 4:49 am

Post by IP_CAM » Thu Jul 16, 2015 4:57 am

possibly check on one of the Visitor Counters (regardless of the OC version!), usually counting a fixed value digits, just adding a 'defined' amount of zero's, to find out, on how it's been done there. It may be of help.
Good Luck
Ernie
hitline.info/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 2 guests