php - How to activate Free shipping per specific category with quantity based -


how can add category , quantity free.php? have 2 category books , food

i want books , food reach 5 quantity , activate free shipping 5 quantity of books = free shipping 5 quantity of food = free shipping

sample code this

if $category = "books & food" && quantity > 4   $free_shipping = true 


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -