[`Interaction with PREMIUM features`]

{if shopLicensing::isPremium()} {sprintf(_w('Select Shop-Script and %s plugin interaction options for the processing of orders containing products with fractional quantities and quantity units. The corresponding settings must be enabled for that.'), "%s", "{$wa_app_url}?action=settings#/unit/")} {else} {sprintf(_w('The settings will become available after the transition to the PREMIUM license.'), "{$wa_app_url}?action=settings#/premium/")} {/if}
[`How to pass on product quantities to the plugin`]
[`All orders are passed on to the plugin regardless of whether product quantities are specified as fractional or integer values.`]
[`Select this option if`]
  • [`the plugin supports fractional product quantities,`]
  • [`you sell only integer product quantities.`]
{if $type == "shipment"} [`If the plugin does not support fractional product quantities then processing orders with fractional quantities may result in errors or in the transfer of incorrect information to the shipping service.`] {else} [`If the plugin does not support fractional product quantities then processing orders with fractional quantities may result in errors or in the transfer of incorrect information to the payment gateway.`] {/if}
{if $type == "shipment"} [`If at least one product with fractional quantity is contained in an order then the shipping option set up via this plugin is not available for such an order. For orders only with integer product quantities, such a shipping option is available as usual.`] {else} [`If at least one product with fractional quantity is contained in an order then the payment option set up via this plugin is not available for such an order. For orders only with integer product quantities, such a payment option is available as usual.`] {/if}
{if $type == "shipment"} [`If an order contains items with fractional quantities then information about such items is converted before being passed to the shipping service—the quantity value and the quantity unit name are added to the order item name and the quantity value becomes equal to 1.`] {else} [`If an order contains items with fractional quantities then information about such items is converted before being passed to the payment gateway—the quantity value and the quantity unit name are added to the order item name and the quantity value becomes equal to 1.`] {/if}
[`Example`]
[`Mango: 1.75 lb. × $5.20/lb. = $9.10 is converted to`]
[`Mango 1.75 lb.: 1 pc. × $9.10/pc. = $9.10`]
{if $type == "shipment"} [`Order items with integer quantity values are passed on to the shipping service without a conversion.`] {else} [`Order items with integer quantity values are passed on to the payment gateway without a conversion.`] {/if}
[`How to pass on product quantity units to the plugin`]
{if $type == "shipment"} [`This option can also be used if the plugin does not support quantity units. Such a case is identical to the absence of set up units, and the plugin passes on information to the shipping service about product quantities expressed in pieces only.`] {else} [`This option can also be used if the plugin does not support quantity units. Such a case is identical to the absence of set up units, and the plugin passes on information to the payment gateway about product quantities expressed in pieces only.`] {/if}
{if $type == "shipment"} [`The shipping option set up via this plugin is available only for orders containing products of certain types. To use that shipping option for some product type, you need to disable the support for different stock quantity units in that product type’s settings.`] {else} [`The payment option set up via this plugin is available only for orders containing products of certain types. To use that payment option for some product type, you need to disable the support for different stock quantity units in that product type’s settings.`] {/if}
[`or`] [`cancel`]