10 Jun 2016, 5:01 PM
Zen Follower
- Join Date:
- Sep 2006
- Posts:
- 165
- Plugin Contributions:
- 0
How to make inactive one shipping table if the order get more than 4 kg?
$prevProdID instead of $prevProdId fixed it! I must have looked at that line a hundred times and I couldn't see why it wasn't working.
I think that the product_prid may be a little heavier than product_id but it seems OK and feels "right": rarely are there more than a hundred orders in each batch, and it takes very little time to run this script.
Thanks very much for your help.