The date field does not work in the Variants tab

  • Posts: 2
  • Thank you received: 0
7 years 10 months ago #273518

hi
The date field does not work in the Variants tab
Please see the video below. You will see the problem.
opik.ir/Untitled41.wmv

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

  • Posts: 26233
  • Thank you received: 4036
  • MODERATOR
7 years 10 months ago #273520

Hello,

Because it was your very first message in the forum, you message had to be approved and unfortunately, the information related to your HikaShop version number are lost in the process.
Which HikaShop/Joomla version numbers are you using ?

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: 2
  • Thank you received: 0
7 years 10 months ago #273540

hi
This problem exists on the latest version of hikashop and the latest version of Joomla!

In the demo below, this is a problem.

demo.hikashop.com/administrator

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

  • Posts: 26233
  • Thank you received: 4036
  • MODERATOR
7 years 10 months ago #273604

Hello,

Okay ; but please understand that when we are asking for a version number we are expecting to get a version number and not just the word "latest".
You can find Joomla 3.8, 3.9 and 4.0 development branches ; you can find a Joomla "master" branch. And you can find releases.

Now about the issue, some modification in the Joomla calendar during the 3.7.2 release break how the calendar can be initialized in Ajax ; that new calendar is still unstable since his refactoring and we already submitted some reports about B/C.
Right now, the easier would be to update the "product / variant" view to add such code at the very end:

?>
<script type="text/javascript">
if(JoomlaCalendar && JoomlaCalendar.init){
	setTimeout(function(){
		var section = document.getElementById('hikashop_product_variant_edition');
		elements = section.querySelectorAll(".field-calendar");
		for(i = 0; i < elements.length; i++){
			JoomlaCalendar.init(elements[i]);
		}
	}, 500);
}
</script>

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.064 seconds
Powered by Kunena Forum