Add date picker

  • Posts: 23
  • Thank you received: 0
11 years 3 months ago #112512

Hi everyone
I'm quit new to hikashop and I'm trying to figure out a way to be add the ability to pick a date by customers as some of the products sold are actually courses and some can start at any date and some should start on certain dates.
I have some components installed that can do that separately but I prefer to have everything under one roof rather than dealing with different systems which makes it more complicated for the users.
So technically I could make custom field for putting dates in but then does it make the field for every products? and what should I do for the dates of the courses that they have to pick from?
that would be great help
www.idivecenter.com
there is not much of a shop page right now as there are many items and try to figure this out before put on the page.
Thanks in advance

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 3 months ago #112534

Hi,

You can use a date custom item field if you want that the customer choose a date when putting a product in his cart.
In the configuration of the custom field, you can filter the field for a category. Si you can set it for a specific category (and his sub categories if you want) and you can use an hidden category (unpublished) if you want selected all products concerned.

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: 23
  • Thank you received: 0
11 years 3 months ago #112550

Thanks for your response but what if they have to pick from a list of available date? Also not related to this topic but is it possible to do the calculation per day like renting gear or offering accommodation?

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 3 months ago #112565

Hi,

It depends on what you want to display.
We have a plugin called "dynamic calendar" but it only allow you to forbidden days.
If you what to display specific dates with a little range, the best will be to use a drop down.

Knowing more details about what you want to do will be better because for the moment, we can't help you correctly.
We don't know your requirements so we can't say which solution could be the best for you.

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: 23
  • Thank you received: 0
11 years 3 months ago #112568

I try to briefly explain how this business works:
This is a dive center so we have many different range of activities for example:
diving courses that can be started by demand on any day (the user needs to enter date)
Diving courses that start on different schedules through year(the user need to pick date)
Then is accommodation which has different possibilities and price range at its per night and total number of the nights min should be as the length of the course you picked before
other thing would be divetrips which people based on the date and destination book a space and go diving
and the sell of normal goods which is pretty much easier than above.
I have tried many shopping carts before but I saw lots of potential in it without the complexity of magento.
I got the most expensive version to get ultimate flexibility now want to see what can be done

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

  • Posts: 23
  • Thank you received: 0
11 years 3 months ago #112608

Hi Again
a quick question. Which table I should put the custom date field so the customer have to enter when they add a product to shopping cart?
thanks

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 3 months ago #112660

Hi,

artinzaman wrote: Which table I should put the custom date field so the customer have to enter when they add a product to shopping cart?

You have to create an "item" custom field. The table will be "item".

For what I read about your requirements, you should use a custom price plugin.
It will give you the possibility to calculate dynamically the price of some products depending the custom fields.
You can use "product" custom field to store variable data that the custom won't see (if the custom field is not displayed in the front-end). These field can be used afterward by the plugin in order to calculate/process the final product price ; using the item custom fields (the dates) and some variables (hardcoded in the plugin and read dynamically in a product custom field).
www.hikashop.com/en/support/documentatio...mentation.html#other

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: artinzaman

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

  • Posts: 16
  • Thank you received: 0
11 years 1 month ago #126077

I am having the same problem. I have a similar site but we sell activities for the Hawaiian islands.
If you take a look at this page: www.thehawaiiconcierge.com/joomla2/index...-tours/cruiser-phils

I have a joomla menu linked to an article with the add to cart link. I have added the date picker using the custom field in the table item but it does not appear on the order form. Can you please help me. I have the business edition.

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 1 month ago #126104

Hi,

Your add to cart does not support the item custom fields.
It is not the right solution, the best is to display a "real" HikaShop product page.

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: 16
  • Thank you received: 0
11 years 1 month ago #126106

I can't add a date picker at the check out page?

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 1 month ago #126138

Hi,

You can, but you have to create an "order custom field", not an "item custom field".

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.

Time to create page: 0.083 seconds
Powered by Kunena Forum