Twizted Posted November 20, 2004 Share Posted November 20, 2004 I am looking for a way to setup my shop so that I can offer first class but setup some products to cause the shipping module to Force the user to use priority mail (for larger items for example) by not showing the first class option.. Is this possible and if so, How? Thanks :blink: Quote Link to comment Share on other sites More sharing options...
Daemonj Posted November 20, 2004 Share Posted November 20, 2004 You will have to modify the code and the database. Create a field in the products table to store a shipping option value. Modify the admin/categories.php file to include this new field and then enter the code for the priority mail item. Then edit the catalog/includes/modules/shipping/usps.php file to remove all entries from the results array except for the specified code. If you have multiple shipping options available, you will have to modify the catalog/includes/classes/shipping.php class instead to only return results that match the code specified by the product. Quote "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein Link to comment Share on other sites More sharing options...
Twizted Posted November 20, 2004 Author Share Posted November 20, 2004 You will have to modify the code and the database. Create a field in the products table to store a shipping option value. Modify the admin/categories.php file to include this new field and then enter the code for the priority mail item. Then edit the catalog/includes/modules/shipping/usps.php file to remove all entries from the results array except for the specified code. If you have multiple shipping options available, you will have to modify the catalog/includes/classes/shipping.php class instead to only return results that match the code specified by the product. <{POST_SNAPBACK}> UGH.... I am not that versed in this and have no idea how to do what you just said to do :blink: .... I was hoping that someone knew a contribution that I hadnt found yet... I am in the process of looking but have yet to find anything. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.