how to add category wise shipping in virtuemart. there are many flat rate for category Any one please help me
I am not exactly sure of the table structure in Virtuemart. But you can probably try to fetch data by category easily if you have a table with column 'category'. <?php $query = "SELECT * FROM "products" WHERE category = 'category1'"; $result = mysql_query($query); // Now print result using a while loop. ?> Code (markup):
Hi Thanks for the reply i need to add the category falt rate and each for the shipping if the category is flat rate is how many products they select it will be the same it the cateogyr is each rate the price will be doubled example category ipod - flat rate 9.90(shipping) category other product - each 8.80(shipping) other product price must be doubled if they take 2 products from other the shipping rate must be doubles 8.8. * 8.80 like this