• Resolved martinmaurer

    (@martinmaurer)


    I just installed the latest version and I love the new feature that holiday / temporary closures would now be pulled from Google automatically.

    However, although the place is closed tomorrow the plugin does not reflect the next day as closed.

    The JSON from Google looks like this:

    {
    "googleMapsUri": "XXX",
    "regularOpeningHours": {
    "openNow": false,
    "periods": [
    {
    "open": {
    "day": 1,
    "hour": 8,
    "minute": 0
    },
    "close": {
    "day": 1,
    "hour": 12,
    "minute": 0
    }
    },
    {
    "open": {
    "day": 1,
    "hour": 14,
    "minute": 0
    },
    "close": {
    "day": 1,
    "hour": 18,
    "minute": 0
    }
    },
    {
    "open": {
    "day": 2,
    "hour": 8,
    "minute": 0
    },
    "close": {
    "day": 2,
    "hour": 13,
    "minute": 0
    }
    },
    {
    "open": {
    "day": 2,
    "hour": 14,
    "minute": 0
    },
    "close": {
    "day": 2,
    "hour": 18,
    "minute": 0
    }
    },
    {
    "open": {
    "day": 3,
    "hour": 8,
    "minute": 0
    },
    "close": {
    "day": 3,
    "hour": 13,
    "minute": 0
    }
    },
    {
    "open": {
    "day": 4,
    "hour": 8,
    "minute": 0
    },
    "close": {
    "day": 4,
    "hour": 12,
    "minute": 0
    }
    },
    {
    "open": {
    "day": 4,
    "hour": 14,
    "minute": 0
    },
    "close": {
    "day": 4,
    "hour": 18,
    "minute": 0
    }
    },
    {
    "open": {
    "day": 5,
    "hour": 8,
    "minute": 0
    },
    "close": {
    "day": 5,
    "hour": 13,
    "minute": 0
    }
    }
    ],
    "weekdayDescriptions": [
    "Monday: 8:00\u202fAM\u2009\u2013\u200912:00\u202fPM, 2:00\u2009\u2013\u20096:00\u202fPM",
    "Tuesday: 8:00\u202fAM\u2009\u2013\u20091:00\u202fPM, 2:00\u2009\u2013\u20096:00\u202fPM",
    "Wednesday: 8:00\u202fAM\u2009\u2013\u20091:00\u202fPM",
    "Thursday: 8:00\u202fAM\u2009\u2013\u200912:00\u202fPM, 2:00\u2009\u2013\u20096:00\u202fPM",
    "Friday: 8:00\u202fAM\u2009\u2013\u20091:00\u202fPM",
    "Saturday: Closed",
    "Sunday: Closed"
    ]
    },
    "businessStatus": "OPERATIONAL",
    "displayName": {
    "text": "XXX",
    "languageCode": "de"
    },
    "currentOpeningHours": {
    "openNow": false,
    "specialDays": [
    {
    "date": {
    "year": 2024,
    "month": 7,
    "day": 15
    }
    },
    {
    "date": {
    "year": 2024,
    "month": 7,
    "day": 16
    }
    },
    {
    "date": {
    "year": 2024,
    "month": 7,
    "day": 17
    }
    },
    {
    "date": {
    "year": 2024,
    "month": 7,
    "day": 18
    }
    },
    {
    "date": {
    "year": 2024,
    "month": 7,
    "day": 19
    }
    }
    ]
    }
    }

    Am I missing something here?

    On Google the closed days are reflected correctly.

    Regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @martinmaurer Just to confirm, you have both options for Google My Business: “Regular” and “Special” enabled in the Sync section?

    Please can you share the Place ID?

    This way I can easily test the Google Places (New) API using the same data.

    Thread Starter martinmaurer

    (@martinmaurer)

    yes both checkboxes are checked.

    it’s ChIJZXG0iMjXukcRqNt4Ez5n0yo

    Plugin Author Design Extreme

    (@designextreme)

    Thanks @martinmaurer. I’ve replicated the issue and I’ll provide a fix in the next release of the plugin.

    Thread Starter martinmaurer

    (@martinmaurer)

    perfect thank you so much. I will test this then again asap.

    Thread Starter martinmaurer

    (@martinmaurer)

    Hi

    just a quick follow up: when do you plan to release the next version with the bugfix?

    Thank you!

    Plugin Author Design Extreme

    (@designextreme)

    @martinmaurer Thanks for the reminder. I will spend some time over the weekend to get the next release sorted.

    Plugin Author Design Extreme

    (@designextreme)

    Hello @martinmaurer, I am checking through some of the code relating to the Special opening hours. When I manually set a non-standard set of opening hours (special opening hours), it does reflect in the Retrieved Data (see Additional section) and the same data is used to populate the opening hours when I press the button in the main opening hours management for We’re Open!

    If you’ve added the additional API: Places API (New), set this as an additional API restriction and there’s still a problem, please get in touch directly.

    Alternatively, do get in touch on here if this issue is resolved for you.

    Otherwise, I have an issue replicating the error and subsequently implementing a fix, so I will need to mirror your experience first.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.