andydasilva52 / integromat_apps Goto Github PK
View Code? Open in Web Editor NEWIntegromat App's
Home Page: https://andydasilva52.github.io/integromat_apps/
Integromat App's
Home Page: https://andydasilva52.github.io/integromat_apps/
Implement GetProduct
/v1/Catalog/API.svc/web/GetProduct
/v1/Catalog/API.svc/web/GetProductByIntegrationID
Use the same concept of the module getOrder with EntityKeyName
and EntityKeyValue
.
It's important to check at the module SearchQueueItems what are the values of EntityKeyName
for ProductID
and ProductIntegrationID
to maintain the good use of the API
Add property at Order
similar to:
"ItemsCount": 3,
"ItemsQty": 7.00,
To show the Sum of Qty
of all Items[]
that are not IsFreeOffer: true
and CatalogItemType: 7 (Bundle)
Add DeliveryAmount
at the array of items Order.Items[]
Must be prorated from
Order.DeliveryAmount
Use the right formula with Subtotal
of the item
Item.SubTotal: 100.00
Item.SubTotal: 200.00
Item.SubTotal: 300.00
Order.SubTotal: 600.00
Order.DeliveryAmount: 20.00
Formula: Item.DeliveryAmount = (Item.SubTotal * Order.DeliveryAmount) / Order.SubTotal
Note: The last item has to be Order.DeliveryAmount
subtract from the sum of previous Items.DeliveryAmount
because the number have a rounded parameter
Product 1
Item.DeliveryAmount = (100.00 * 20.00) / 600.00
Item.DeliveryAmount = (2000.00) / 600.00
Item.DeliveryAmount = 3.3333333333333333333333333333333
Item.DeliveryAmount = 3.33
Product 2
Item.DeliveryAmount = (200.00 * 20.00) / 600.00
Item.DeliveryAmount = (4000.00) / 600.00
Item.DeliveryAmount = 6,6666666666666666666666666666667
Item.DeliveryAmount = 6.67
Product 3
Item.DeliveryAmount = (300.00 * 20.00) / 600.00
Item.DeliveryAmount = (6000.00) / 600.00
Item.DeliveryAmount = 10
3.33 + 6.67 + 10 = 20
Note: "IsFreeOffer": true
and "CatalogItemType": 7 - (Bundle)
do not are considered to make the prorated.
Add property at Order
similar to
Order.ItemsCount
But Count Items that are not IsFreeOffer: true
and CatalogItemType: 7 (Bundle)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.