chudkins / DSF

A script to automate working with EFI's Digital StoreFront
GNU General Public License v3.0
0 stars 0 forks source link

Update-Product should handle Fixed/Multiple/Advanced quantity options #9

Open chudkins opened 5 years ago

chudkins commented 5 years ago

This function eventually needs to support Fixed, Multiple, and Advanced options.

For Fixed Quantities, you must create or edit a grid similar to the multiple lines on the pricing sheet. Add logic to handle this.

Until then, it's probably best to use "Advanced" option and specify the quantities there. Syntax is similar to regex, so something like "1..5|10|25|100" would work. See the DSF online help for more details.

chudkins commented 5 years ago

Min/Max/Mult updated; there is now a global default for Max and Multiple, so if a Minimum quantity is specified without the others, they will be set to 10,000 and 1 respectively.

chudkins commented 5 years ago

Advanced is done.