Suggestions - Help on How To

  • Posts: 461
  • Thank you received: 36
9 years 2 months ago #214649

-- HikaShop version -- : 2.5.0

Hi to all,
I don't have much experience on HikaShop, so I'm posting hooping to have some suggestions on How To solve a customer need. So, all suggestions, instructions, opinions on how to do it in the most simple way are really too glad.
I'm working with Joomla + Seblod + Akkeba Subscriptions + Hikashop Business + AcyMailing:

I have 3 user levels: Guests > Registered (free registration) > Subscribed (paid subscription, where the first year cost 100 and the renewal 50... (I can manage it through the Akkeba Subscriptions/HikaShop integration)

I have two types of users that can buy the paid subsciption: Graduate / Students

Graduate:
- When they buy the first time a Subscription they have to proove they are graduate, so they have to input some more fields (that will never change in the user profile) and send us a pdf. We check the pdf (and that must mutch the same as the fields input) and we give the "ok" for buy the subscription. Now:
* Where is it better to create the fields? As profile, as more Address fields, or as option fields in product order ?
* How to constrict the users to upload a pdf during the order, so we can check ?
* How we can manage a "confirmation", so the user can goes on, pay and finish the order ?
* This is a "one time to do" for each user. If he renewal the user is yet confirmed, so we don't need nothing, it can renewal automatically at cost of 50. But, in teory also if his subscription expired and want to buy again he has to pay 100, but if he is yet confirmed is for all his life... don't need to be confirmed anymore... How to "confirm" a user with HikaSHop ?
* We hypothesized also to do it also creating a Seblod Profile with fields and pdf upload, when we see it, we can "confirm": Is there a way for HikaShop to know if a Seblod field is checked ? (only the checked one can buy Subscriptions). Or we need to create another User Level as "confirmed", when we confirm the user, manually we move him to the "Confirmed" level, and then we give the access to buy the subscription product only to the "Confirmed". How to set ACL for buying a product ?

Students:
- Students cannot be "confirmed" as Graduate (A student does't have to upload a pdf), and they have a big discount on Subscription. To have access to this discount we have to check if they are really students. How ? We have a collaboration with schools and we can call to be sure. Now,
* Is it better to use the same product with discount coupon, or a different product that yet cost 20 (that bring you to the Subscribed level)?
* Logically is not sure the student pass from 1st class/year of school to 2nd Class/year of school and so on. We cannot be sure he will still be a student. He may has dropped out of school. So, create a permanent User Level is not good. But we think we can fix the product quantity to one and give a confirmation year by year, telephoning to the school and moving the product buying from created to confirmed. Please, how to do it? Is this the best solution?

Last, when users are subscribed we have to permit them to stamp a paper that say: Name / Surname... bla bla ...you are officially subscribed from... till...
* Can we do it sending a pdf after purchasing?
* How to include into the html/pdf also the Akeeba Subscriptions fileds (date of subscription/expiration date) ? How to include the Seblod fields ?

Really many thanks for opinions, suggestions, instructions...

Last edit: 9 years 2 months ago by joomleb.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 2 months ago #214689

Hi,

Graduate

1/ It will be better to use a "user custom field" than an address one.
A user can have several addresses, so the information could be "lost" or more difficult to find.
And to "store" the result you can just use a Joomla user group.

2/ Even if you use an address custom field, you want to make that field required only for specific cases.
I'll recommend a custom plugin which will display a message during the checkout and could refuse the creation of the order if it contains some targeted products and the profile is not completed.

3/ Using ACL on payment method, you can just propose a special "collect on delivery" payment plugin which will mark the order as "pending".
Then when you will confirm the user and place him in the right Joomla user group ; he will have access to "real" payment methods and could continue his order (HikaShop have some options for that).

4/ I think that it is more related to AkeebaSubs than HikaShop.

Students

1/ I think a different product will be easier ; specially to propose different subscriptions in akeeba subs.

2/ Sorry, I'm lost for that point.

Last

1/ Yes, the "pdf invoice" plugin can perform that job.

2/ The "pdf invoice" plugin use a PHP view which can be overridden, so you can use PHP to load and display what you want.

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: 461
  • Thank you received: 36
9 years 2 months ago #214698

Hi Jerome,
thanks for your support. Please:

Graduate 3 "collect on delivery" payment plugin practically is the way for HikaSop to create "orders" that need to be confirmed before to "buy", am I right ?

Last "pdf invoice" Do you mean this one ?
Please, do you have any guide for that plugin ?
Can I set different pdf for different purchases ?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 2 months ago #214706

1. Yes, exactly.

2. Yes, exactly. Once you install and activate it, it will generate a PDF automatically out of the invoice template that you can modify in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php
If you want different content in the PDF for different purchases, that's not a problem since you'll have access to all the data of the order in the PHP code of the invoice in that file. If you're a developer, that shouldn't be a problem.

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

  • Posts: 461
  • Thank you received: 36
9 years 2 months ago #214760

Hi Nicolas,
many thanks for help. About " Plugin PDF ":
- "it will generate a PDF automatically out of the invoice template": Please, How to have it run only buying some specifics products ?
- How to set different pdf based on product bought ?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 2 months ago #214769

Hi,

You'll have to modify the code in the file plugins/hikashop/attachinvoice/attachinvoice.php to skip the processing of the plugin or not based on the products in the order when the plugin is triggered.
The exact modifications will depend on what you need to do exactly and this is outside user support so I can't go into the details here.
If you need someone to help you with that, you can contact our partners:
www.hikashop.com/home/our-partners.html
Or use our commercial jobs forum in order to find someone to help you with that.

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

  • Posts: 461
  • Thank you received: 36
9 years 2 months ago #214867

Ok, thanks, and Is there a way to set different pdf based on product bought ?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 2 months ago #214884

Hi,

You'll have to modify the code in the file plugins/hikashop/attachinvoice/attachinvoice.php to skip the processing of the plugin or not based on the products in the order when the plugin is triggered.
The exact modifications will depend on what you need to do exactly and this is outside user support so I can't go into the details here.
If you need someone to help you with that, you can contact our partners:
www.hikashop.com/home/our-partners.html
Or use our commercial jobs forum in order to find someone to help you with that.


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: 461
  • Thank you received: 36
9 years 2 months ago #214913

Hi Jerome,
Thanks, I supposed this was the answer just at the first question:
- "it will generate a PDF automatically out of the invoice template": Please, How to have it run only buying some specifics products ?
not at the second:
- How to set different pdf based on product bought ?
Is it possible ?
Anyway, I will ask "there" how it run a plugin I will buy "here",

Last edit: 9 years 2 months ago by joomleb.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 2 months ago #214944

Hi,

Having different PDFs for different products and no PDFs for other plugins will be done with somewhat similar modifications to the code of the plugin. So yes, as we said, it's possible if you modify a bit the code of the plugin.

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

  • Posts: 461
  • Thank you received: 36
9 years 2 months ago #214994

...as always, thank you very much for support...

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

Time to create page: 0.073 seconds
Powered by Kunena Forum