georgikolev7 / cs-cart-promotion-api-extend Goto Github PK
View Code? Open in Web Editor NEWCS-Cart 4.11.x extend API for "catalog/cart promotions"
CS-Cart 4.11.x extend API for "catalog/cart promotions"
hello tested this out and it works great apart from only the json data some data is not being progressed
example of the Json Data
{
"promotion_id": "20",
"company_id": "0",
"conditions": {
"set": "all",
"set_value": "1",
"conditions": {
"2": {
"operator": "in",
"condition": "products",
"value": "221,222,227,229,205"
}
}
},
"bonuses": {
"1": {
"bonus": "product_discount",
"discount_bonus": "by_percentage",
"discount_value": "50"
}
},
"to_date": "1606001391",
"from_date": "0",
"priority": "0",
"stop": "N",
"zone": "catalog",
"conditions_hash": "products=221,222,227,229,205",
"status": "A",
"number_of_usages": "0",
"users_conditions_hash": "",
"name": "AB: RACING CARD + 2-YEAR LICENSE FOR RACES K1",
"short_description": "
<span class="legal-disclosures-line2"><span class="legal-disclosures-line1">Promotional value expires 60 days after purchase. Amount paid never expires. <span class="fine-print-description">Limit 2 per person, may buy 20 additional as gifts.
",<span class="legal-disclosures-line1">Promotional value expires 60 days after purchase. Amount paid never expires. <span class="fine-print-description">Limit 2 per person, may buy 20 additional as gifts. Must activate licenses by the expiration date. Licenses expire 1 year from activation date. All junior racers must be at least 48'' and adult racers must be at least 4'10'' tall to race. All racers should be under 7' tall and 300 lbs. Subject to availability. Not valid for group events. May split between 2 people. <span class="legal-disclosures-line2">Merchant is solely responsible to purchasers for the care and quality of the advertised goods and services.
",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.