- Posts: 25
- Thank you received: 2
Generating Series Serials
- saejangracer
-
Topic Author
- Offline
Less
More
10 years 6 months ago #232740
by saejangracer
Site building and troubleshooting
www.hikashop.com/forum/product-category-...product-display.html (open)
Generating Series Serials was created by saejangracer
-- HikaShop version -- : 2.6.1
-- HikaSerial version -- : 1.10.2
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : Chrome 48.0.2564.116
Hi,
I would like to generate serials such that:
[A-Z]{4}[0-9]{3}[0-9]{x}
where for every Hikashop item under my Vouchers category, there would be a unique pack attached, and for every pack there would be a unique series generator with
1. The first 4 letters "[A-Z]{4}" fixed by me (so I know which supplier is offering this voucher)
2. The next 3 numerals "[0-9]{3}" also fixed by me (so I know which type of voucher is offered by the particular supplier)
3. The next x numerals "[0-9]{x}" to be generated in series format, with upper limit set according to the amount of stock I have, and all serials within the same pack to be of uniform string length
eg. if I have 350 vouchers of type 1 from supplier MGFT, the series should run fromMGFT001001 to MGFT001350
How do I achieve this using the series generator?
Tried some combinations but they didn't work. What should I key in in the fields "Min.value", "Max.value" and "Serial Format"?
Thank you
-- HikaSerial version -- : 1.10.2
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : Chrome 48.0.2564.116
Hi,
I would like to generate serials such that:
[A-Z]{4}[0-9]{3}[0-9]{x}
where for every Hikashop item under my Vouchers category, there would be a unique pack attached, and for every pack there would be a unique series generator with
1. The first 4 letters "[A-Z]{4}" fixed by me (so I know which supplier is offering this voucher)
2. The next 3 numerals "[0-9]{3}" also fixed by me (so I know which type of voucher is offered by the particular supplier)
3. The next x numerals "[0-9]{x}" to be generated in series format, with upper limit set according to the amount of stock I have, and all serials within the same pack to be of uniform string length
eg. if I have 350 vouchers of type 1 from supplier MGFT, the series should run fromMGFT001001 to MGFT001350
How do I achieve this using the series generator?
Tried some combinations but they didn't work. What should I key in in the fields "Min.value", "Max.value" and "Serial Format"?
Thank you
Site building and troubleshooting
www.hikashop.com/forum/product-category-...product-display.html (open)
Please Log in or Create an account to join the conversation.
10 years 6 months ago #232745
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Generating Series Serials
Hi,
We have updated the "series generator" documentation page in order to describe more the setting "serial format".
www.hikashop.com/support/documentation/1...ugins-seriesgen.html
Please let us know if you have further question of if some points in the page are not clear enough.
Regards,
We have updated the "series generator" documentation page in order to describe more the setting "serial format".
www.hikashop.com/support/documentation/1...ugins-seriesgen.html
Please let us know if you have further question of if some points in the page are not clear enough.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: saejangracer
Please Log in or Create an account to join the conversation.
- saejangracer
-
Topic Author
- Offline
Less
More
- Posts: 25
- Thank you received: 2
10 years 6 months ago #233180
by saejangracer
Site building and troubleshooting
www.hikashop.com/forum/product-category-...product-display.html (open)
Replied by saejangracer on topic Generating Series Serials
Hi Jerome,
Thank you for your reply, managed to get serial to work
Thank you for your reply, managed to get serial to work
Site building and troubleshooting
www.hikashop.com/forum/product-category-...product-display.html (open)
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.187 seconds