• Resolved gobbijs

    (@gobbijs)


    I need a help with a wp datepicker. The thing what i want is – customer in checkout page can choose the pickup and delivery date. After choosing the date, then in cart summary shows the calculation – example, I choose from 24.07 – 26.07, then in the calculation shows 2days and multiply the price of the product x2. I’ll add a screenshot what I need.
    Functions.php code – https://pastebin.com/sy4Vh2MP
    Review-order.php code – https://pastebin.com/qc3QbpGW

    I have also tried like this – functions.php – https://pastebin.com/3KavWcGe

    The calendar appears, but no other price appears at Total if I select, for example, 3 days. For example, the product costs 1 EUR, if I want to rent it for three days, then I would have to show up at Total like this – 3 EUR (1 EUR x 3 days). I tried to turn on the DEBUG mode, but after selecting the dates, the data from the POST is not obtained at all.

Viewing 1 replies (of 1 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    There must be a misunderstanding because this plugin is actually responsible for converting a normal text field into calendar field. If this functionality is intact, there are no problems with it.

    And in your screenshots, it is clearly visible that you’re using datepicker custom implementation method. And further calculations are your custom development requirements. I would suggest you to use other platforms to get help in your code and/or hire a developer for your help.

    This support forum is for reporting the issues you found in the plugin or you have any suggestions.

Viewing 1 replies (of 1 total)
  • The topic ‘Calculation of pickup and delivery date’ is closed to new replies.