Skip to main content

Holiday Message

More
10 years 3 months ago #244488 by trevsmiff
Holiday Message was created by trevsmiff
-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.5.1

I would like to request a new feature to allow vendors to set up a customised 'Holiday Message' to be displayed when a customer views the vendor's products. The message could be displayed as a pop-up or a badge perhaps.

Thanks
Trevor

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

More
10 years 3 months ago #244494 by Jerome
Replied by Jerome on topic Holiday Message
Hi,

Can you please provide more details about your feature request ?
I don't see what you want to achieve and I don't know if it's related to HikaMarket or HikaShop.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

More
10 years 3 months ago #244562 by trevsmiff
Replied by trevsmiff on topic Holiday Message
If a vendor is on holiday and unable to supply their products until they return I would like to notify the customer of the delay when they view any of the vendor's products. Ideally this would be something the vendor could set up from their control panel without involving the main vendor.

The message could be displayed as a pop-up perhaps or somewhere on the product page.

The fields required might be:
  • Holiday message - WISIWIG
  • Holiday start date - date selector
  • Holiday return date - date selector
  • Enable - Yes/No

Thanks
Trevor

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

More
10 years 3 months ago #244567 by Jerome
Replied by Jerome on topic Holiday Message
Hi,

Surely not in the product page ; it is not related to the product but to the vendor itself.
And regarding your request, it is not something which will be available directly in HikaMarket but thanks to a plugin.
The fields could be vendor custom fields without any problem ; the plugin should add some content in the product page and could interact differently depending his settings (not authorize the product to be bought or just display warning).

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

More
10 years 3 months ago #244607 by trevsmiff
Replied by trevsmiff on topic Holiday Message
What I meant was that the message would be displayed in the product page as a pop-up or somewhere.

Anyway you have given me a clue as to where to start and I will have a go at building a plugin using vendor custom fields.

Thanks
Trevor

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

More
10 years 2 months ago - 10 years 2 months ago #244736 by trevsmiff
Replied by trevsmiff on topic Holiday Message
I managed to get it working and have attached my plug-in if anyone else wants to use it. The coding is not very elegant but seems to do the job!

Create the following custom fields in the vendor table and set them to display in the front end before enabling the plug-in:
  • vendor_holiday_start - Advanced date picker.
  • vendor_holiday_end - Advanced date picker.
  • vendor_holiday_message - textarea (or WISIWIG)
  • vendor_holiday_enable - radio button with values 'yes' 'no'.

This attachment is hidden for guests.
Please log in or register to see it.


UPDATE: I have added a facility for the main vendor to be notified by email if the sub-vendor changes the publish status of their holiday message. The settings are on the plug-in page.

regards
Trevor
Last edit: 10 years 2 months ago by trevsmiff.
The following user(s) said Thank You: Jerome

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

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