Miva Merchant 4 Module FAQs » Generic Order Export (BROK_GENEXPORT)
That's exactly the sort of thing it is for.
To limit the export only to particular shipping methods, you have two approaches. If the ship_data field (i.e. Orders.d.ship_data) contains a specific string to include then you could use this:
('UPS' CIN %shipdata%)
But the UPS Advanced module doesn't include the UPS string in the ship_data field (but it does include the UPS designation for the shipping method, eg. GND, 1DA, so you could filter on those). So you will need to use the ship_id field of the database (this stores the id of the module). You can determine it by looking at the Orders database directly, at the ship_id field. Another simpler approach is to add the token %shipid% to your orders template, run a test export, and see what %shipid% is listed for order which uses the shipping module you're interested in.
With the ship id in hand (in this example it is 73) you would use:
(%shipid% Eq '73')
and this would export only those orders which used that module.
(%shipid% NE '73')
would export only those orders which did NOT use that module.
Most Recent FAQ Entries:
Top 10
Using "Order Filter" to Limit the Export to a Particular Shipping Method
Can I use the "order filter" to limit the export to only orders that used a particular shipping method?
That's exactly the sort of thing it is for.
To limit the export only to particular shipping methods, you have two approaches. If the ship_data field (i.e. Orders.d.ship_data) contains a specific string to include then you could use this:
('UPS' CIN %shipdata%)
But the UPS Advanced module doesn't include the UPS string in the ship_data field (but it does include the UPS designation for the shipping method, eg. GND, 1DA, so you could filter on those). So you will need to use the ship_id field of the database (this stores the id of the module). You can determine it by looking at the Orders database directly, at the ship_id field. Another simpler approach is to add the token %shipid% to your orders template, run a test export, and see what %shipid% is listed for order which uses the shipping module you're interested in.
With the ship id in hand (in this example it is 73) you would use:
(%shipid% Eq '73')
and this would export only those orders which used that module.
(%shipid% NE '73')
would export only those orders which did NOT use that module.
Last update: 2003-07-30 01:07
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
- Is there any way to look up a customer's ... (2008-08-06 18:04)
- I am looking for a module that will allow ... (2008-08-06 18:00)
- Is it possible to display a link in Phone ... (2008-08-06 12:05)
Top 10 
- 2754 views:
Adding Tokens to Evaluate Expressions - 2697 views:
Is there a way to "Limit" the number of ... - 2654 views:
Why won't you call me for technical support? I ... - 2549 views:
Are license keys valid for more than one store? ... - 2447 views:
I'm trying to enter a license key and get ... - 2425 views:
How do I install a module? - 2286 views:
How do I check for a module upgrade? - 2254 views:
How can display and change the parameters of an ... - 2097 views:
The total on my checkout pages are not correct. ... - 1932 views:
I have select and radio type attributes in my ...
















