- Default QTY – the number of each particular Option included in a Product Set. The value should be set for each Child Product in your Magento Grouped Product.
- Magento QTY – the number of each particular Option in your inventory. The value is taken from Simple Products in Magento.
We have a Grouped Product - a Dining Set with 1 Table, 4 Chairs, and 2 Cloths.
Thus, the set includes 3 Child (Associated) Products:
- Dining Table. Its Default QTY is 1, Magento QTY is 10.
- Dining Chair. Its Default QTY is 4, Magento QTY is 67.
- Dining Cloth. Its Default QTY is 2, Magento QTY is 50.
When Channel order is placed and imported to Magento, quantity value for each Child Product will be taken from the relevant Default QTY field in Grouped Product.
Basic Calculations
To begin with, we need to calculate the entire quantity of Product Sets available for purchase.
For that, divide Magento QTY by Default QTY for each Option. As a result of the calculations, the smallest number will be submitted to the Channel as Product Set quantity.
This is how we will calculate the entire quantity of our Grouped Product listed as a Set:
According to our calculations, the smallest possible number of Product Sets is 10. It means that M2E Pro will list 10 Dining Sets available for purchase on the Channel.
These calculations apply to the most common case when you want to list the entire Magento Product Set quantity on the Channel, and it is set to use 100% of Product Quantity in Selling Policy.
Calculations based on Selling Policy Settings
Now let’s see how different Selling Policy settings affect the quantity calculation of our Grouped Product listed a Set.
Case 1. 75% of Product Quantity
In Selling Policy, it is set to use 75% of Product Quantity.
Pay attention to this case if you want to submit only a certain part of Product Set quantity to the Channel.
To calculate available QTY, you have to multiply QTY Percentage by the number of available sets.
75% (QTY Percentage) x 10 (the number of available sets) = 7.5 ~ 7 (QTY available on the Channel)
Case 2. 100% of Magento Attribute Value
In Selling Policy, it is set to use 100% of Magento Attribute value.
The value 12 is set in Magento Attribute (in our case, it is “QTY”, but you can select any other appropriate custom Attribute).
The quantity is taken from the Magento Attribute value of the Parent Product.
To calculate available QTY, you have to multiply Magento Attribute value by QTY Percentage:
12 (Magento Attribute Value) x 100% (QTY Percentage) = 12
M2E Pro will list 12 Dining Sets available for purchase on the Channel.
After the Channel Order is imported, Magento will reduce the quantity in the default Product QTY Attribute. The quantity specified in your custom Magento Attribute value will not change and will still be submitted to the Channel. You need to make sure to update the quantity accordingly.
Case 3. Conditional Quantity Enabled
In Selling Policy, it is set to use 100% of Product Quantity with the enabled Conditional Quantity option.
The available QTY is 10 (10 x 100% = 10). But Max QTY to Be Listed is 8, so M2E Pro will list 8 Dining Sets available for purchase on the Channel.
For the item to be submitted, the entire Product Set Quantity has to be equal or more than the value set in the Min QTY to Be Listed field.
If the entire Product Set Quantity is less than the specified Min QTY to Be Listed value, the item will not be listed on the Channel.
Case 4. Custom Value
In Selling Policy, the QTY is set to use a Custom Value. ‘
In this field, you have to enter your own quantity value based on which QTY calculation will be carried out.
For example, if QTY Value is 14, M2E Pro will list 14 Dining Sets available for purchase on the Channel.
After the Channel Order is imported, Magento will reduce the quantity in the default Product QTY Attribute. The quantity specified in your custom value will not change and will still be submitted to the Channel. You need to make sure to update the quantity accordingly.
Case 5. 75% of Magento Attribute Value + Conditional Quantity
In Selling Policy, it is set to use 75% of Magento Attribute value with enabled Conditional Quantity.
The value 5 is set in Magento Attribute (in our case, it is “QTY”, but you can select any other appropriate custom Attribute).
The quantity is taken from the Magento Attribute value of the Parent Product.
To calculate available QTY, you have to multiply QTY Percentage by Magento Attribute value.
75% (QTY Percentage) x 5 (Magento Attribute Value) = 3,75 ~ 3 (QTY available on the Channel)
Since Max QTY to Be Listed is set to 5, but 3 < 5, M2E Pro will list 3 Dining Sets available for purchase on the Channel.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article