I will try to explain my problem as good as possible ;-) This is what I am trying to achieve:
- Some of my products are assigned to their main category, but also to a hidden Virtuemart category "Free shipping".
- The basic shipping method has a fee and in the configuration there is an option to disable it for selected categories. Using this option I have disabled it for the category "Free shipping".
- There is a second shipping method without a fee and in the configuration I have enabled it for the category "Free shipping" only.
In the shop this setup is working properly so if a product that is assigned to the category "Free shipping" is added to the basket, the shipping fee is removed automatically. The shopper gets a free shipping. But in the CSVI export all <g:shipping> fields are empty, except for one product (the first in the list with the ID "1".
If I unselect the option mentioned in step 2 and enable this shipping method for all products, the export works, but also the products that are supposed to have no shipping cost are calculated with the basic fee.
Is there a problem in the export script or is this simply not possible?