Consume serial in Easy Social report

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #290736

-- HikaShop version -- : 3.4.0
-- HikaSerial version -- : 2.1.0
-- Joomla version -- : 3.8.6
-- PHP version -- : 7.1
-- Browser(s) name and version -- : Safari 11.1

Hello,
I created some products as certifications that instructors can buy to use in their courses.
So I'd like that each instructor can fill in the report of the course and use the serial connected with the product he bought, once time.
I saw the page: www.hikashop.com/support/documentation/1...onsume-features.html , but I'm not sure to understand how to use the html code in the easy social report.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #290737

Hello,

I don't know what is your "easy social report" but that is sure that EasySocial cannot perform a serial consumption in HikaSerial.
And because I don't understand how the serial are generated and how they need to be used, I cannot give you more details or an alternative solution.
All I can tell you is that a serial can be consume in Hikaserial context (otherwise it would require some custom development in your side).

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.

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #290769

I understood it was possible to consume serials from an outside application...
I try to explain what my client asked me:
Each member of his association can buy a serial as license to use just one time, members are teachers, they will give the license number to each student as license.
is it a solution: www.hikashop.com/support/documentation/1...onsume-features.html ?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #290791

Hello,

Each member of his association can buy a serial as license to use just one time, members are teachers, they will give the license number to each student as license.


I'm sorry but that description do mention of relation with the consumption system.
Yes, users can buy serials with HikaSerial. Sure you can give a code to someone else but afterwards ; I'm afraid that it requires a lot more explanations !

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.

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #290818

Hi Jerome,
I will try to explain better what my client asked me:
Users are instructors that create some courses in classroom.
Example: The instructor create a course for a student, when the course will be finished, the instructor fill in the report with some information including a license number. So he should consume the serial he bought as license number.
I created a report form with some custom fields, my idea is to put the serial number in a html field.
The best solution is that the user could choose one of his serial number from a list , one number for each student in the course.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #290819

Hello,

The instructor create a course for a student

How ? What is a course ?

when the course will be finished, the instructor fill in the report with some information including a license number

What is that report ? What component are you talking about ? (and what is the link with Easy Social ?!)

So he should consume the serial he bought as license number.

Okay.. But it implies so many elements and questions that I can't even formulate a complete answer.
Like : "what if the serial is already used ?" => "What component are you talking about for these reports ?"

The best solution is that the user could choose one of his serial number from a list

Once again, I don't know what component you're talking about.
And also, you do not precise who is that "user".

one number for each student in the course

So it would mean that you can embed more details in a serial than just a code...

To be honest ; I still have no idea of what you're trying to do but I can tell you for sure that it is related to a custom component and some custom development.
I still don't see what is the relation with Easy Social but I doubt that that component can provide you the required feature nor that you can plug HikaSerial and EasySocial together "like that" to have a bridge consumption system (since it require pre-validation).

Now your custom dev can be related to HikaSerial and use the consumption has a start for your "reporting" system and include more inputs in the form, use a plugin to do extra action during the consumption, etc.
And you can even customize the view to load the list of serials for the "user" so he won't have a simple input but a dropdown with the list of its available serials.
A lot of things are possible ; but it will require some custom development (and some time).

I hope that my explanations are 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.

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #290886

Incredible, anyway...
Is it possible to put the dropdown list of serials as a field of a form?
The user can choose the serial for each form he fill in.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #290889

Hello,

It is possible, with custom development in your form.

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.

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #290941

Hi Jerome,
can I ask you to check my HikaSerial config?
I found a simple solution to solve my report issue, but I'm having a problem with consume module.
When I put the serial into the field and click on the send button, I receive an invalid serial message.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #290953

Hello,

Please details your issue and I will be able to tell you what screenshot I need to explain you what is not set-up as you want to.

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.

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #291022

Hello,
I'm trying to create a page with a table where user can see his serials, and the module to consume the serials.
The first issue I found is the serial number, as you can see in the screenshots I added, I created test serials with a simple code (TT1-00001) but in the backend I saw as serial number just "1".
Maybe I forgot something in the configuration...
Thank you.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291024

Hello,

You're using the "series" generator ; so the serials are just simple number.
You can customize the display via the plugin to "format" it but, the serial content will still be a simple number.
And that is that very precise information which is required during the consumption.

Generally speaking, "series" are not meant to be used for consumption ; more for "lottery".
But if you want to use it ; you will have just one single pack available and you will have to put the number.

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.

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #291059

Thank you for your answer, but it could be a problem for my client, because the members must use the serial as license just one time.
Also I'd like to redirect to another page after consummation, is it possible?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291090

Hello,

It won't be a problem if you're using a random generator.
Since you just want your serial to be unique and be consume one single time.

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.

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #291125

Hi Jerome,
as I explained the serial represents a license code, so for each product, categories, I created a serial type.
Example: If i sell a license for a blsd category, I should have a license likes blsd-00001.
I don't understand why the serial number in backend is not the same the users buy. Is there any solution to obtain it?
Thank you for your job.
Vito

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291126

Hello,

It is not incompatible with a Serial generator ; you can define the format for your generators so you can different settings with prefixes.
By entering content not between square brackets, you specify some "fixed" content.
CF : www.hikashop.com/support/documentation/1...ugins-randomgen.html

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.

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #291142

Ok thank you very much,
it could be a good solution.
Best regard,
Vito

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

  • Posts: 21
  • Thank you received: 0
6 years 7 months ago #291214

Hi Jerome,
I'm checking your suggested solution, and I think it will be a good solution.
Anyway I'm having a problem:
I created a page where users can see their serials table on the right side and the consume module on the left.
I'd like they put their serial in the consume module field and submit to consume it, after that the page shouldn't change, because it's probably that they should consume more serials in the same time. Is it possible?
Also I saw after consume submit, the website go to the consume page but it change the template I chose.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 7 months ago #291217

Hello,

The consume module is not working in "ajax" mode ; it will submit the data into a "consume page" but there is no setting to select the menu ID (for the moment ; I'm working on it for the next release).
Right now, you can still see to perform a little "view override" of "serial / consume" to force a value for the "ItemId".
You can also see to override "serial / consumed_..." to perform a redirect to another page, like the serial listing.

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.

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

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