// Hook to restrict shipping based on product and destination postcode add_filter('woocommerce_package_rates', 'restrict_shipping_by_product_and_postcode', 10, 2); function restrict_shipping_by_product_and_postcode($rates, $package) { // Replace '123456' with the postcode of Lucknow $lucknow_postcode = '226022'; // Check if the destination postcode is different from Lucknow if ($package['destination']['postcode'] != $lucknow_postcode) { // Check if there are restricted products in the cart $restricted_products = array(9651); // Replace with the IDs of the restricted products foreach ($package['contents'] as $item_id => $values) { $product_id = $values['product_id']; if (in_array($product_id, $restricted_products)) { // If any restricted product is found, unset all shipping methods $rates = array(); break; } } } return $rates; } PAN INDIA DELIVERY Archives - Page 11 of 19 - Ram Asrey Sweets
ramasreyfoods@gmail.com   +919454512700, 0522-4006000   Hazratganj, Lucknow   Opens at 08:00am
Sort by

TRADITIONAL MODAK

2.22$4.43$ (INCLUSIVE OF ALL TAXES)

Falahari Dalmoth

5.39$ (INCLUSIVE OF ALL TAXES)

Rose Gujiya

2.99$ (INCLUSIVE OF ALL TAXES)

Sugarfree Gujiya

6.59$ (INCLUSIVE OF ALL TAXES)

Anjeer or Fig Stuffed Gujiya

6.59$ (INCLUSIVE OF ALL TAXES)

Dates Stuffed Gujiya

6.59$ (INCLUSIVE OF ALL TAXES)

MIX DALMOTH BOX

11.37$ (INCLUSIVE OF ALL TAXES)
Showing 165 of 273

Search for products (0)

Back to Top
Product has been added to your cart
Call Now Button