Create a WordPress shortcode for WooCommerce product

Job ID: 33303253

Budget: $10 – $30 USD

Hello!

I need to create a shortcode [tps-lead-time] that will be displayed in a product page.

Functionalities:
- Only display if the product page has the custom field "lead-time-product"
- The custom field will bring this type of content, for example: 3 Days / 10 Days / 40 days


Example of the shortcode rendered in the front end: (https://snipboard.io/7edCBz.jpg)

Arrival Date: March 28th - April 02nd
Order within 2 hrs, 54 min and 23 sec.
Need the item sooner? Contact us at support@


- The display date in the front end is calculated this way:

Arrival Date: March 28th (current date + 5 days + lead time days) - April 02nd (current date + 8 days + lead time days)
Order within 2 hrs, 54 min and 23 sec. (Counter to finish the current day)

If the arrival date calculated is Saturday or Sunday, move it to Monday.


- Budget: 30USD
- Milestone will be released after testing in my server
Related categories: PHP WordPress HTML WooCommerce