Questions tagged [calendar]

The tag has no usage guidance.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
191 views

Magento 2.1 : Calendar Frontend

I have some data on front-end , which I want to show on specific days in the calendar. I got this code to show the calendar on the front end . <?php $a = 'some text'; $b = 'some ...
2
votes
0answers
167 views

How can i remove the back button from default magento calendar from current date only

How can I remove the Back button from default magento calendar from current date only. How do you disable the prev button when the previous month is less than the current month? For instance, if the ...
1
vote
1answer
334 views

How to remove year dropdown from ui-datepicker Magento 2

How can i remove ui-datepicker-year from calender in Magento 2. I only want to make user select only date and month. How to achieve that. I have removed this line of code from jquery-ui.js if ( !...
1
vote
0answers
29 views

Anyone else having third-party modules with data integrity issues in M2's checkout?

Using Amasty for a shipping calendar and orders randomly (It seems?) come through to the admin with shipping date missing. Very annoying but there is no obvious pattern and the bug can't be replicated ...
1
vote
1answer
169 views

How can i disable till 1 week next future dates in Magento js Calendar?

I want to allow customer to choose dates after 1 week from current date. Like as today date is 15 Feb 2019 so customer can select dates from 22 feb 2019. I did change js for calendar by adding below ...
1
vote
0answers
68 views

Getting future date in calendar instead of today's date in Magento 1 issue

This is my setup for the calendar: Calendar.setup({ inputField : 'scheduled_ajax_update', ifFormat : '%Y-%m-%d', button : 'scheduled_ajax_update_trig', align : 'Bl', singleClick : true }); ...
1
vote
1answer
281 views

Magento 2.1 Date Time Calendar

I am using magento calendar in ui component form just like the way it is in the link given here.Magento 2 - How to add the DateTime UI Component It works fine when I add a new record, but when I edit ...
1
vote
0answers
162 views

Magento 1.9 Calendar not displayed on customer registration page

I am using magento 1.9 for my website. I have enabled Javascript calendar in magento admin, but it is not displayed on customer registration page for Date of Birth field. How should I enable it?
1
vote
0answers
494 views

What's the use and impacts of calendar.js in mage 1.9.x

We are using CE 1.9.2.2 currently and I am desperate to get rid of the calendar.js-es and .css-es in my layout file. I'm not sure what they are used for but all I see is a large bloat of unnecessary ...
1
vote
0answers
4k views

Change Magento Calendar date format

How to change in Magento date format for Calendar from mm / dd / yyyy to dd / mm / yyyy ? I have tried change locale, nothing. Also for Calendar.setup change setup setting ifFormat: "%Y-%m-%d", ...
0
votes
0answers
11 views

Date field, force using english locale

I would like to add a date field with calendar that uses english language format. So the date should look like 01 february 2011. Problem is that my locale is italian. How to change format and force it ...
0
votes
1answer
60 views

Add clear button in frontend calendar button panel

I am trying to add a clear button in the jquery datetimepicker widget using the below code. define([ 'jquery', 'ko', 'Magento_Ui/js/form/element/abstract' ], function ($, ko, ...
0
votes
1answer
136 views

magento 2.3 overide date calendar class

I am trying to override a date calendar class in Magento. But when I try doing it the date input from the product page disappears. Basic I want to override the date calendar script to add custom ...
0
votes
1answer
18 views

Datepicker calendar always show

I need to always show calendar popup in div below input with datepicker. There is my code <div class="field date"> <input type="text" name="datepicker" id="datepicker" value="" ...
0
votes
0answers
65 views

Magento 2 Christmas advent calendar

Is it possible to create an advent calendar on a page? I want to lock the dates and only let the users view current date or previous dates to be clickable
0
votes
0answers
41 views

Magento 2.3.2 - Setting Locale Options > Locale > Chinese (Taiwan) doesn't load product page

Running a multi website and multi store site. One of the websites has it's locale options > Locale set to Chinese (Taiwan) This causes only the product pages to load blank. The error_log shows the ...
0
votes
1answer
11 views

Magento2.3.0 In product edit go to advance pricing there calender icon not proper showing

I am using Magento2.3.0 and go to admin side product edit inside advance pricing there special price inside calender icon not proper showing please if you have any idea how to resolve it
0
votes
0answers
202 views

How can i only show date and month select box in calender(Magento 2)

I want my customer edit form calendar to be only date and month and no year and no week days name. This must include leap year as well if a user birthday is on 29th Feb and according to this current ...
0
votes
0answers
80 views

how to change getDateFormat() to only have date and month

So in my Customer edit form, I need to remove year , so on inspecting i found out the script code renders from vendor/magento/framework/View/Element/Html/Date.php code $html .= '<script type="...
0
votes
2answers
118 views

Which file controls the 3. Shipping Method during checkout?

Magento 1.9.4 Porto theme I am trying to setup a 2nd flat rate shipping method as per here: How to add another flat rate shipping option? and I'm already having problems with that which I wonder ...
0
votes
2answers
280 views

one month previous day in magento

I want new date from current date, difference of 30 days. $dt = date("Y/m/j",strtotime("-1 month")); and $firstDayOfPrevMonth = date("01.m.Y", Mage::getModel('core/date')->timestamp(strtotime('...
0
votes
0answers
205 views

Magento1.9 jquery calendar not working properly

I have added jquery calendar for a product to take date and time and kept as not required. If I add that product to cart without disturbing the date field its working.If I select date, time and trying ...
0
votes
0answers
558 views

Magento-2 show calendar to chose date

I have a popup form with DOB field. I would like to get Calendar shown when a customer clicks on DOB text field or on click on calendar icon beside DOB field. My HTML is: <div class="field date ...
0
votes
2answers
654 views

How do I edit the front end of my site?

Ok, I've given up. I had a friend come to me to ask for assistance with her website - she has a few things that she'd like me to change on the front end like the calendar plugin. For some reason it ...
0
votes
1answer
1k views

Javascript in ajax loaded modal popup

I'm working on a module that needs to open modal window and show some content inside of it + some js logic. So I load template with ajax request which works just fine: (simplified template): <...