webgriffe / amp-magento Goto Github PK
View Code? Open in Web Editor NEWMagento REST Api wrapper to use with Amp PHP framework.
Magento REST Api wrapper to use with Amp PHP framework.
Why is it using the endpoint GET /V1/products/attributes
filtering by attribute code? Wouldn't it be better if it used the endpoint GET /V1/products/attributes/{attributeCode}
?
The array of customer group prices is made of customer_group_id
, qty
, and price
. The two fields customer_group_id
and qty
should act as a key: if you merge an item with the same values of customer_group_id and qty, it should be replaced, but now it is always added.
Fo example if you have product with:
[
[
'customer_group_id' => 4,
'qty' => 1,
'value' => 10
]
]
and you merge
[
[
'customer_group_id' => 4,
'qty' => 1,
'value' => 15
]
]
the expected result is
[
[
'customer_group_id' => 4,
'qty' => 1,
'value' => 15
]
]
while the actual result is
[
[
'customer_group_id' => 4,
'qty' => 1,
'price' => 10
],
[
'customer_group_id' => 4,
'qty' => 1,
'value' => 15
],
]
Github workflows should be used instead of Travis.
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.