Generating Series Serials

  • Posts: 25
  • Thank you received: 2
8 years 8 months ago #232740

-- 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 =)

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 8 months ago #232745

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,


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.

  • Posts: 25
  • Thank you received: 2
8 years 8 months ago #233180

Hi Jerome,

Thank you for your reply, managed to get serial to work =)

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.067 seconds
Powered by Kunena Forum