Questions tagged [calendar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 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
21 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
10 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
64 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
31 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="...
1
vote
1answer
93 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
21 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 ...
0
votes
2answers
95 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 ...
2
votes
1answer
105 views

magento 2 custom calendar instead of core calendar

I want to create jalaali calendar (persian calendar) instead of magento core calendar for admin and front pages . for this purpose I've added these lines to my requirejs-config in my module : '...
1
vote
1answer
80 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 ...
0
votes
1answer
256 views

Magento 2 DateTime picker - Limit time selection range

I am using a datetimepicker on my frontend form with below code. I want to limit time selection between range 09:00 to 17:30 <input name="datetime_field" id="datetime_field" readonly title="...
0
votes
1answer
776 views

Magento 2 : frontend calendar localization

I'm becoming crazy with the frontend translation of the mage/calendar widget in m2. Does somebody know how to localize it? I have a calendar that's showing up on the front (from a bought module that ...
1
vote
1answer
195 views

Disable/Remove Sunday and it related date from calendar

I want to disable/remove Sunday from js calendar and its related dates also. Can somebody tell me how can I achieve this? I search from google but all says to hide weekend, I just want to hide only ...
3
votes
2answers
371 views

Disable array of days in magento 2 calendar not working on product view page

In my custom Module I am able to disable array of days using this code in viewproduct.phtml <script> require(["jquery", "mage/calendar"], function($){ $(document).ready(function(){ var ...
1
vote
1answer
295 views

Can't get rid of calendar-win2k-1.css via layout xml updates

I am trying to get rid of a css file, which constantly is being loaded but I don't use dates anywhere in the frontend. It seems I can't erase this file no matter what but it blocks my rendering on ...
1
vote
0answers
242 views

Magento 2: How to translate calendar Widget

I want to display a date of a birth calendar(create account page) as per store local. Any help appreciate
0
votes
2answers
133 views

How to charge different $ amounts for different time (delivery) intervals?

Magento 1.9.1 Amasty Delivery Date extension I have the Delivery Date extension from Amasty ( https://amasty.com/media/user_guides/delivery_date_user_guide.pdf ) It allows me to setup different ...
0
votes
2answers
166 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
175 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
468 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 ...
1
vote
0answers
58 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
1k views

Magento 1.9 date picker with only month and year

At frontend i have to add Date-picker where have to show only Month and Year(not date) with year in range(like 1990 - 2020). Please suggest me how can i do this?
2
votes
0answers
140 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
255 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 ...
4
votes
1answer
177 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 ...
0
votes
1answer
1k views

Magento 2: Initialize calendar widget inside payment uiComponent [duplicate]

I am working on a Payment Gateway and I have to work with the customer's date of birth with a certain payment option. To get this, I want to load the calendar widget on a text input field (since date ...
1
vote
1answer
1k views

Magento : Do not want to Load Calendar CSS or Merge with All CSS Files

I am try to get rid of calendar.css file, because I don't use dates anywhere. When I set merge css files from admin, calendar file still loaded separately. I am just wondering, How can get rid of it ...
1
vote
1answer
902 views

Magento : Need Datepicker Frontend Form

I have recently set magento default datepicker at frontend but its not work. I add required file using xml like this, <layout version="0.1.0"> <!-- Default layout, loads most of the ...
1
vote
0answers
154 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?
5
votes
3answers
2k views

How do I create date input field with calendar in Magneto2? [SOLVED]

I want to create a date input field with calendar control where I can change year and month by drop down.
0
votes
2answers
477 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 ...
5
votes
1answer
1k views

How to set confign min|maxDate in frontend magento2?

have a nice date!!. In magento2 i tried set input type date and add confign min|maxDate. but is not success. Pls tell me how to set config. this my code: <input type="date" value="04-07-2016" ...
2
votes
1answer
876 views

Disable selected dates in default Magento2 calendar

I have successfully added calender and disable previous Date in my custom form by using below code. <script> require([ "jquery", "mage/calendar" ], function ($) { $("#My_ID")....
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): <...
1
vote
1answer
2k views

Magento2 - how to configure a widget calendar?

How to configure a widget calendar ? I found some solutions, but can not understand clearly How to add calendar in admin configuration options? Can anyone review and guide me step by step please ?
1
vote
0answers
486 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
1answer
1k views

change the color of Sunday days in the calendar (it is red and needs to be any other color)

I have a calendar and I want to do deliveries on Sunday but when I enabled Sunday in the Admin panel for the calendar - it lets people select Sunday but the day is in the RED color which discourages ...
1
vote
1answer
2k views

Disable previous days in default Magento2 calendar

I have successfully added calender in my custom form by using below code. <script> require([ "jquery", "mage/calendar" ...
0
votes
1answer
121 views

Create a pricing calendar - per product

I'm looking to build a pricing calendar for each product (i.e. be able to plan in advance pricing for products). Has anyone had any experience building something like this, or does anyone have any ...
0
votes
1answer
1k views

adding calendar on form field in magento 2 not working error 404

In frontend I've managed to add a form that loads in a modal shown after a product is added to cart. On that form a field must have a calendar on. I've used the attribute data-mage-init='{"calendar": {...
0
votes
1answer
1k views

Calendar control in Checkout page In Magento 2

I'm trying to display the calendar control to select the date, for that i have wrote some thing. But it's displaying textbox calendar control is not popping could you please suggest me how to insert ...
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
1answer
2k views

What does calendar.js do?

I am trying to cut some code to speed up the site and found aclendar.phtml + js and just wondering, what do they do? My site's home page does not have any of calendar code but if you were to open ...
1
vote
1answer
2k views

How to remove calendar.js?

I am trying to remove calendar.js via local.xml but have trouble doing so, can anyone post a correct code for 1.9.2? My local.xml <?xml version="1.0"?> <layout version="0.1.0"> <...
2
votes
1answer
603 views

Use Jalali calendar

I want to use Jalali calendar in my store, I use a plugin that have some js and css files that I add these files in skin/default/my-theme/js and skin/default/my-theme/css and also in local.xml. Now I ...
1
vote
0answers
54 views

Enable only all fridays in calendar of magento for a specific product [closed]

In a series of products i have select calendar option. I want to set only friday enabled in calendar for specific product, not in all products having calendar. Is there any possible way to do it. ...
0
votes
1answer
3k views

Magento Calender with onSelect event

I am trying to capture magento's calender date-select event, haven't found anything about any where, but I already know magento is using jQuery UI calender so I looked into jQuery UI documentation and ...
0
votes
1answer
1k views

How to show a date selected in Calendar?

When we open date calendar, it shows current date selected by default. But I need to show a date selected which is 15 days ahead of current date. My code HTML: <input type="text" class="input-...
10
votes
1answer
1k views

how can change magento calendar?

As you know Gregorian is default calendar in Magento, but in some countries like China, Japan, India, Iran and Arabian countries there are different calendars. I searched Magento backend and I didn’t ...
1
vote
2answers
6k views

How to disable given date in default calendar?

I have a table in the database which contains some dates. I want to disable those dates in magento default calendar. The calendar is in front-end checkout process (used to add delivery date for the ...