CosmosK:
So, I'm trying to add a new product. Previously, flat rate has been working and I have by weight as an option, but flat rate is cheaper. Now I want to add a new product that I do not want to offer flat rate. I found this thread and tried the code, but it's not working
https://www.zen-cart.com/showthread.php?93535-Disable-Flat-rate-after-weight-of-cart-is-over-a-certain-amoun
Is there any way to have flat rate not show up for certain products?
Thanks
You could create a new category containing all products which are not 'allowed' to use flat rate.
Then apply/adapt the code in this thread:
https://www.zen-cart.com/showthread.php?215925-Shipping-restrict-carriers-options-per-Catagory&highlight=in_cart_check
You will need to apply that hack to your flat rate module and adapt accordingly.
NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.