You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find a way to differentiate the forms. Maybe adding a suffix like _packs and _units may work.
This will break the setting of the default value.
Then is necessary to find a way to calculate the right instantPrice and to save the amount of units bought. More, is necessary to decide what happens in case there are packs set.
For example, if exists a pack with 50 units and the user buys 55, the 50 units should be paid following the packs price or the unitary_price? The remaining 5 units will be paid for sure following the unitary_price.
The text was updated successfully, but these errors were encountered:
The configuration should be something like this:
Find a way to differentiate the forms. Maybe adding a suffix like
_packs
and_units
may work.This will break the setting of the default value.
Then is necessary to find a way to calculate the right
instantPrice
and to save the amount of units bought. More, is necessary to decide what happens in case there are packs set.For example, if exists a pack with 50 units and the user buys 55, the 50 units should be paid following the
packs
price or theunitary_price
? The remaining 5 units will be paid for sure following theunitary_price
.The text was updated successfully, but these errors were encountered: