Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shopify Carrier Service API doesn't show dates

I have registered a carrier service using the Shopify API. Shopify requires max and min delivery dates to show rates on checkout. I am passing these fields. But now I don't want to show these days with my rates titles. Is this possible?

Now the rate is shown as follows: Test Standard(2 to 5 Business days)

I want to show Test Standard

How I can achieve this?

like image 560
Mani Avatar asked Nov 21 '22 20:11

Mani


1 Answers

We have passed these fields as follows

 $express['min_delivery_date'] =  "0000-00-00 00:00:00 -0000"; 
 $express['max_delivery_date'] =  "0000-00-00 00:00:00 -0000"; 

This way, they are not showing any days only the shipping name.

like image 153
Ruchi Avatar answered Jan 05 '23 08:01

Ruchi